Class DwtShell
DwtShell should NOT be subclassed. Defined in: DwtShell.js.
Class Detail
DwtShell(params)
Creates a shell.
Author: Ross Dargahi.
Method Detail
addBlurListener(listener)
Adds a blur listener.
addFocusListener(listener)
Adds a focus listener.
addGlobalSelectionListener(listener)
Adds a global selection listener.
<static>
{DwtShell}
DwtShell.getShell(win)
Gets the shell managing the browser window (if any).
{string}
getToolTip()
Gets the tool tip.
relayout()
Relayout user skin elements. Called whenever hiding or showing a
part of the user skin, or when resizing the window.
The layout works on elements of class "skin_layout_filler" -- which
must also be of either class "skin_layout_row" or
"skin_layout_cell". It finds the size of our parent, subtract the
sizes all sibling rows or cells (excluding other fillers) and
divide the remaining size between this filler and any sibling
fillers.
removeGlobalSelectionListener(listener)
Removes a global selection listener.
setBusy(busy, id, showBusyDialog, busyDialogDelay, cancelBusyCallback)
Sets the busy overlay. The busy overlay disables input to the application and makes the
cursor a wait cursor. Optionally a work in progress (WIP) dialog may be requested. Since
multiple calls to this method may be interleaved, it accepts a unique ID to keep them
separate. We also maintain a count of outstanding calls to
setBusy(true) . When that count
changes between 0 and 1, the busy overlay is applied or removed.
setBusyDialogText(text)
Sets the text for the shell busy dialog
setBusyDialogTitle(title)
Sets the shell busy dialog title.
|
||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:29 GMT-0400 (EDT)
|