Class draw2d.Dialog

Object
   |
   +--draw2d.Figure
         |
         +--draw2d.Window
               |
               +--draw2d.Dialog
Direct Known Subclasses:
draw2d.PropertyDialog, draw2d.AnnotationDialog, draw2d.ColorDialog, draw2d.InputDialog

class draw2d.Dialog
extends draw2d.Window

Defined in Dialog.js

Version: 0.9.14

Author: Andreas Herz


Constructor Summary
draw2d.Dialog ( <String> title)
           
 
Method Summary
 void onCancel()
           This method will be called if the user pressed the CANCEL button in buttonbar of the dialog.
Subclasses can override this method to implement there own stuff.

Don't forget to call the super method after you have done your stuff with Dialog.prototype.onCancel.call(this);
 void onOk()
           This method will be called if the user pressed the OK button in buttonbar of the dialog.
Subclasses can override this method to implement there own stuff.

Don't forget to call the super method after you have done your stuff with Dialog.prototype.onOk.call(this);
 void onSetDocumentDirty()
           Framework callback if an object has beend deleted, move, added or something else.
 void setDimension( <int> w, <int> h)
           Set the new dimension of the dialog.
 void setFocus()
           The framework call this method after dialog creation.
 
Methods inherited from class draw2d.Window
hasFixedPosition, hasTitleBar, onDragstart, setCanDrag, setTitle, getMinWidth, getMinHeight, isResizeable, setBackgroundColor, setColor, setLineWidth, onSelectionChanged
   
Methods inherited from class draw2d.Figure
getProperties, getProperty, setProperty, getId, getWorkflow, getParent, getZOrder, setZOrder, setBorder, getContextMenu, onDoubleClick, onMouseEnter, onMouseLeave, setPosition, setResizeable, setSelectable, isStrechable, isDeleteable, setDeleteable, setCanSnapToHelper, getCanSnapToHelper, getSnapToGridAnchor, setSnapToGridAnchor, getBounds, getWidth, getHeight, getY, getX, getAbsoluteY, getAbsoluteX, onKeyDown, getPosition, isOver, attachMoveListener, detachMoveListener
 

Constructor Detail

draw2d.Dialog

draw2d.Dialog( <String> title)

Method Detail

onCancel

void onCancel()

onOk

void onOk()

onSetDocumentDirty

void onSetDocumentDirty()

setDimension

void setDimension( <int> w, <int> h)

setFocus

void setFocus()


Documentation generated by JSDoc on Thu Feb 7 23:45:47 2008