Field Summary |
public
| __innerBorderStyle: Number |
|
|
|
public static
| classInfo: Object |
| A static class information object
|
|
public
| closeButton: Boolean |
| controls the visibility of the titlebar close button
|
|
public static
| defaultWindowHeight: Number |
| Constant default display height
|
|
public static
| defaultWindowWidth: Number |
| Constant default display width
|
|
public
| disableAcceptButton: Boolean |
| Disable the default accept button action
|
|
public
| hideOnExit: Boolean |
| controls whether the windows is hidden or destroyed on close*
|
|
public
| innerBackgroundVisible: Boolean |
| Indicates whether the inner background is visible or not
|
|
public
| innerBorderRadius: CornerRadius |
| Sets or get the radius of the inner face
|
|
public
| isModal |
| Is this window modal
|
|
public
| options: Object |
| the window options
|
|
public
| owner: UIControl |
| The control that "owns" or created this window
|
|
public
| returnFunction: Function |
| An event handler to be invoked when this window closes
|
|
public
| styleClass |
| Default style class
|
|
|
|
| Fields inherited from class xp.system.UIControl__layout, allowDrop, autoLayout, bindingDefaultValue, bindingFormatter, bindingPath, bindingSource, bindingType, bindingValidator, border, causesValidation, classInfo, clickOnENTER, clickOnSPACE, container, context, data, disableAcceptButton, disableCancelButton, enableBGMouseEvents, enableDblClickEvent, enableKeyDownEvents, enableKeyEvents, enableKeyUpEvents, enableMouseWheelEvents, formatterOptions, horizontalAlignment, index, isBinding, itemId, logEnabled, parent, parentContainer, parentForm, percentageHeight, percentageWidth, styleClass, tabIndex, tabStop, tooltip, tree, verticalAlignment |
|
Property Summary |
public
| contentForm: Object (read, write) |
|
|
|
public
| dialogResult: Number (read, write) |
| Gets or sets the value that is returned after you close the dialog
|
|
public
| innerBackground: Object (read, write) |
| Color of inner background area
|
|
public
| innerBorderStyle (read, write) |
| inner border style
|
|
public
| isActive: Boolean (read-only)
|
| Is this window active
|
|
public
| status: String (read, write) |
| Gets or sets the window status text
|
|
public
| title: String (read, write) |
| Gets or sets the window title text
|
|
|
|
| Properties inherited from class xp.system.UIControlalpha, autosize, background, backgroundVisible, bindings, borderBrush, borderRadius, borderShadow, borderStyle, borderThickness, bottom, dataSource, enableMouseEvents, focusManager, height, id, isEnabled, isFocused, isMouseOver, isPressed, isSelected, isValid, layout, left, margin, maxHeight, maxWidth, measuredHeight, measuredMinHeight, measuredMinWidth, measuredWidth, minHeight, minWidth, padding, readOnly, resources, right, styleName, top, triggers, visible, width, x, y |
|
Constructor |
public
| Window (
)
|
| Constructor - This should not be called directly.
|
|
Method Summary |
public
| close (
): Void |
| Closes the window and destroys the content and window
|
|
public static
| createModalWindow (
content, title: String, closeButton: Boolean, listener: Object, contentInitProps: Object, options: Object, owner: Object, returnFunction: Function
) |
| Displays a standard modal dialog/window
|
|
public static
| createWindow (
content, title: String, closeButton: Boolean, listener: Object, contentInitProps: Object, options: Object, owner: Object, returnFunction: Function
) |
| Displays the standard non modal dialog/window
|
|
public
| getClass (
): Function |
| Returns a reference to the components static class
|
|
public
| getFocusManager (
): Object |
| Get the current focusManager.For compatibility with MM Framework This may return an instance of mx.managers.FocusManager or xp.system.FocusManager depending on whether internal FocusManagement is enabled or not.
|
|
public
| hide (
): Void |
| Hides the window. Deactivates it and hides its content. For modal windows you should call close.
|
|
public
| onMouseActivate (
) |
| Called when mouse activated
|
|
public
| processEnterKey (
) |
| Process enter key event
|
|
public
| processEscapeKey (
) |
| Process escape key event
|
|
public
| show (
): Void |
| Shows the window. Activates it, bring sit to the top fo the z-order and sets focus to the content
|
|
|
|
| Methods inherited from class xp.system.UIControladdBinding, addBindings, addEventListener, addPropertyTrigger, applyStyle, beginDeferUpdate, canUpdate, centerContent, checkState, containsFocus, destroy, destroyObject, drawFocus, endDeferUpdate, findFocusFromObject, findFocusInChildren, getBinding, getBounds, getCenter, getClass, getFocus, getFocusManager, getFocusRect, getLocation, getPropertyValue, getSize, getStateName, getTrigger, globalToLocalPoint, invalidate, invalidateLayout, invalidateSize, invalidateSizeAndLayout, invalidChild, isChild, isMouseDirectlyOver, isParent, localToGlobalPoint, localToLocalPoint, measure, mouseWheel, move, onChildFocus, onKillFocus, onSetFocus, processEnterKey, processEscapeKey, processTabKey, redraw, refresh, removeEventListener, routeEvent, setBounds, setFocus, setLocation, setPropertyValue, setSize, setValueChanged, update, validate |
|
|