|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--draw2d.Figure
|
+--draw2d.Window
|
+--draw2d.Dialog
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
|
| Constructor Detail |
draw2d.Dialog( <String> title)
title - The title of the window.
| Method Detail |
void onCancel()
Dialog.prototype.onCancel.call(this);void onOk()
Dialog.prototype.onOk.call(this);void onSetDocumentDirty()
void setDimension( <int> w, <int> h)
w - new width of the window.
h - new height of the window.
void setFocus()
draw2d.Dialog.prototype.setFocus.call(this);
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||