Overview
A window control, which can host other windows and provides a menu for child window activation.
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
protected | mdiChildren | Byte[] | subclass |
A list with all children of this window. |
Inherited Variables
mindfusion.controls.Window
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | canClose | Boolean | ![]() | ![]() | ![]() | true |
A flag indicating whether the window can be closed interactively. |
public | canMaximize | Boolean | ![]() | ![]() | ![]() | true |
A flag indicating whether the window can be maximized interactively. |
public | canMinimize | Boolean | ![]() | ![]() | ![]() | true |
A flag indicating whether the window can be minimized interactively. |
public | content | Node | ![]() | ![]() | ![]() |
A node representing the window's contents. |
|
public | fill | Paint | ![]() | ![]() | ![]() | Color.LIGHTGRAY |
The fill of the window's background. |
public | icon | Image | ![]() | ![]() | ![]() |
The icon displayed in the window's title bar, to the left of the window's title. |
|
public | menu | Menu | ![]() | ![]() | ![]() |
The menu displayed below the window's title bar. |
|
public | modal | Boolean | ![]() | ![]() | ![]() | false |
A flag indicating whether the window will be opened as modal. ![]() A flag indicating whether the window will be opened as modal. Setting this variable has no effect if the window is already hosted. false |
public | onClosed | function():Void | ![]() | ![]() | ![]() |
Invoked when the window is closed. |
|
public | sizable | Boolean | ![]() | ![]() | ![]() | true |
A flag indicating whether the window can be resized interactively. |
public-read | state | Integer | ![]() | NORMAL |
The window's state. ![]() The window's state. One of the values defined in the WindowState class. NORMAL |
||
public | stateChanged | function():Void | ![]() | ![]() | ![]() |
Invoked when the state of this window has changed. |
|
public | tag | Object | ![]() | ![]() | ![]() |
An user object associated with the window. |
|
public | title | String | ![]() | ![]() | ![]() |
The string displayed as a window's title. |
|
public | toolBar | ToolBar | ![]() | ![]() | ![]() |
The toolbar displayed below the window's title bar and menu. |
Function Summary
- protected addMdiChild(mdiChild: Window) : Void
Inherited Functions
mindfusion.controls.Window
- public close() : Void
-
Removes the window from its current host.
Removes the window from its current host. If the window is not hosted, nothing happens. The window plays an animation when it is being closed so you will have to wait for its onClosed event before trying to add the window to another parent.
- public openIn(host: WindowHost) : Void
-
Adds the window to the specified host.
Adds the window to the specified host. The window plays an animation when it is opened.
-
Parameters
- host
-
The WindowHost object to open this window in.
- public toggleMaximize() : Void
- public toggleMinimize() : Void