Class DwtBaseDialog
Dialogs always hang off the main shell since their stacking order is managed through z-index.
Class Detail
DwtBaseDialog(params)
Author: Ross Dargahi, Conrad Damon.
Field Detail
<static>
DwtBaseDialog.MODAL
Defines a "modal" dialog.
<static>
DwtBaseDialog.MODELESS
Defines a "modeless" dialog.
Method Detail
addEnterListener(listener)
Adds an enter listener.
addPopdownListener(listener)
Adds a popdown listener.
addPopupListener(listener)
Adds a popup listener.
cleanup(bPoppedUp)
Cleans up the dialog so it can be used again later.
<static>
{DwtBaseDialog}
DwtBaseDialog.getActiveDialog()
Gets the active dialog.
{boolean}
isPoppedUp()
Checks if the dialog is popped-up.
popdown()
Pops-down and hides the dialog.
popup(loc)
Pops-up the dialog, makes the dialog visible in places. Everything under the dialog will
become veiled if we are modal. Note: popping up a dialog will block
keyboard actions from being delivered to the global key action handler (if one
is registered).
removePopdownListener(listener)
Removes a popdown listener.
removePopupListener(listener)
Removes a popup listener.
reset()
Resets the dialog back to its original state. Subclasses should override this method
to add any additional behavior, but should still call up into this method.
setContent(text)
Sets the dialog content (below the title, above the buttons).
setTitle(title)
Sets the title.
setView(newView)
Sets the content of the dialog to a new view. Essentially re-parents
the supplied control's HTML element to the dialogs HTML element
|
||||||||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:26 GMT-0400 (EDT)
|