jsx3.gui.WindowBar and one child of type jsx3.gui.Block.
| Field Summary | |
|---|---|
| static String | #e8e8f5 (default)
|
| static int | Enum value for the resizable property of instances of this class indicating a non-resizable dialog. |
| static int | Enum value for the windowState property of instances of this class indicating a maximized dialog. |
| static int | Enum value for the windowState property of instances of this class indicating a minimized dialog. |
| static int | Enum value for the modal property of instances of this class indicating a modal dialog. |
| static int | Enum value for the modal property of instances of this class indicating a non-modal dialog. |
| static int | Enum value for the resizable property of instances of this class indicating a resizable dialog. |
| static void | Deprecated. Renamed to RESIZABLE. |
| Constructor Summary | |
|---|---|
| void | instance initializer |
| Method Summary | |
|---|---|
| void | beep() alerts the user's attention to the dialog box by making its caption bar 'flash' on-screen (as it typical with a windows modal dialog)
|
| void | constrainPosition(arg : boolean | Array<int>) Modifies the top and left properties of this dialog in order to fit it within its parent container. |
| void | doClose() removes the dialog box from the JSX DOM and removes its on-screen VIEW from the browser DOM
|
| void | doMaximize(objTBB : jsx3.gui.ToolbarButton) Toggles the state of the dialog between 'maximized' and its 'initial state' |
| void | doToggleState(STATE : int) typically called by minimize/windowshade jsx3.gui.ToolbarButton in the dialog box's caption bar; toggles the window's state between full-size and window-shaded (where only the dialog's caption bar is visible); or fully minimized to the application task bar if one exists |
| void | Applies focus to the caption bar if the dialog has one; otherwise the dialog is given focus. |
| Object<String, int> | getAbsolutePosition(objRoot : HTMLElement) Returns the absolute positioning of the object's on-screen view (specifically, the dialog box, not its modal container if there is one) in relation to JSXROOT (whose left/top is 0/0). |
| jsx3.gui.Block | Implements necessary method for the Alerts interface. |
| jsx3.gui.WindowBar | Returns an object handle to the jsx3.gui.WindowBar instance associated with the jsx3.gui.Dialog instance |
| int | getModal() Returns whether a dialog displays as modal or not. |
| int | Returns whether the dialog can be resized or not. |
| jsx3.gui.ToolbarButton | getTaskButton(objTaskBar : jsx3.gui.WindowBar) Returns object handle to the jsx3.gui.ToolbarButton instance that resides in the application (this.getServer()) task bar and is associated with this dialog instance; returns null if none found |
| static String | Deprecated. |
| int | Returns state of the window (full-size / window-shaded). |
| int | Returns numeric multiplier for the dialog's z-index. |
| boolean | isFront() Returns whether this dialog instance is the front-most dialog among all open dialogs |
| String | paint() Returns the HTML, used for this object's on-screen VIEW |
| void | Ensures that HTML content is added to the correct VIEW element given the unique complexities of a the jsx3.gui.Dialog class |
| void | Removes the box model abstraction for a given object and its descendants. |
| jsx3.gui.Dialog | Sets whether a dialog displays as modal or not. |
| jsx3.gui.Dialog | Sets whether the dialog box's on-screen view can be resized; returns reference to self to facilitate method chaining |
| jsx3.gui.Dialog | setResizeParameters(RESIZE : int, intMinX : int, intMinY : int, intMaxX : int, intMaxY : int, strAfterResizeFunction : ?) Sets resize parameters such as min width, max width, etc for the dialog; returns reference to self to facilitate method chaining |
| jsx3.gui.Dialog | setWindowState(STATE : int) Sets state of the window (full-size / window-shaded); returns ref to self for method chaining |
| jsx3.gui.Dialog | setZMultiplier(intMultiplier : int) Sets numeric multiplier for the dialog's z-index. |
| Methods Inherited From jsx3.gui.Alerts |
|---|
| alert, configureAlert, confirm, prompt |
| Methods Inherited From jsx3.gui.Block |
|---|
| getBackground, getBackgroundColor, getBorder, getCSSOverride, getClassName, getColor, getCursor, getDimensions, getDisplay, getFontName, getFontSize, getFontWeight, getHeight, getIndex, getLeft, getMargin, getOverflow, getPadding, getRelativePosition, getTagName, getText, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, setBackground, setBackgroundColor, setBorder, setCSSOverride, setClassName, setColor, setCursor, setDimensions, setDisplay, setFontName, setFontSize, setFontWeight, setHeight, setIndex, setLeft, setMargin, setOverflow, setPadding, setRelativePosition, setTagName, setText, setTextAlign, setTip, setTop, setVisibility, setWidth, setZIndex, showMask |
| Methods Inherited From jsx3.gui.Interactive |
|---|
| doEvent, getCanDrag, getCanDrop, getCanMove, getCanSpy, getEvent, getEvents, getMenu, hasEvent, registerHotKey, removeEvent, removeEvents, setCanDrag, setCanDrop, setCanMove, setCanSpy, setEvent, setMenu, setSpyStyles, showSpy |
| Methods Inherited From jsx3.gui.Painted |
|---|
| getAttribute, getAttributes, getDynamicProperty, getRendered, insertHTML, onAfterPaint, paintChildren, removeAttribute, removeAttributes, repaint, setAttribute, setDynamicProperty |
| Methods Inherited From jsx3.util.EventDispatcher |
|---|
| publish, subscribe, unsubscribe, unsubscribeAll |
| Methods Inherited From jsx3.lang.Object |
|---|
| clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf |
| Field Detail |
|---|
resizable property of instances of this class indicating a non-resizable dialog.windowState property of instances of this class indicating a maximized dialog.windowState property of instances of this class indicating a minimized dialog.modal property of instances of this class indicating a modal dialog.modal property of instances of this class indicating a non-modal dialog.resizable property of instances of this class indicating a resizable dialog.| Constructor Detail |
|---|
| Method Detail |
|---|
AFTER_MOVE
model event is specified, then this method is not called automatically and must be called explicitly by the
model event.true, this dialog will be placed entirely within its container,
with a certain amount of padding, and this dialog will be resized if necessary. If this argument is an array,
it is taken as the N-E-S-W minimum pixels to show after constraining the position of the dialog. A
null value for any dimension means that the entire dimension should be shown. A negative value
means the number of pixels less than the size of the dialog in that dimension.
Alerts interface.