Class DwtDialog
Class Detail
DwtDialog(params)
Author: Ross Dargahi, Conrad Damon.
Field Detail
<static>
DwtDialog.ALIGN_CENTER
Defines the "center" align.
<static>
DwtDialog.ALIGN_LEFT
Defines the "left" align.
<static>
DwtDialog.ALIGN_RIGHT
Defines the "right" align.
<static>
DwtDialog.ALL_BUTTONS
Defines "all" buttons. This constant is used to show all buttons.
<static>
DwtDialog.CANCEL_BUTTON
Defines the "Cancel" button.
<static>
DwtDialog.DISMISS_BUTTON
Defines the "Dismiss" button.
<static>
DwtDialog.MODAL
Defines a "modal" dialog.
<static>
DwtDialog.MODELESS
Defines a "modeless" dialog.
<static>
DwtDialog.NO_BUTTON
Defines the "No" button.
<static>
DwtDialog.NO_BUTTONS
Defines "no" buttons. This constant is used to show no buttons.
<static>
DwtDialog.OK_BUTTON
Defines the "OK" button.
<static>
DwtDialog.YES_BUTTON
Defines the "Yes" button.
Method Detail
associateEnterWithButton(buttonId)
Associates the "enter" key with a given button.
{DwtButton}
getButton(buttonId)
Gets a button by the specified Id.
{boolean}
getButtonEnabled(buttonId)
Gets the button enabled state.
popup(loc, focusButtonId)
This method will pop-up the dialog.
registerCallback(buttonId, func, obj, args)
Registers a callback for a given button. Can be passed an AjxCallback,
the params needed to create one, or as a bound function.
resetButtonStates()
Sets all buttons back to inactive state.
setButtonEnabled(buttonId, enabled)
Sets the button enabled state.
setButtonListener(buttonId, listener)
Sets the given listener as the only listener for the given button.
setButtonVisible(buttonId, enabled)
Sets the button visible state.
setEnterListener(listener)
Sets the enter key listener.
unregisterCallback(buttonId)
Unregisters a callback for a given button.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:28 GMT-0400 (EDT)
|