JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

A window control, which can host other windows and provides a menu for child window activation.

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
protectedmdiChildrenByte[]subclass

A list with all children of this window.

Inherited Variables

mindfusion.controls.Window

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publiccanCloseBooleantrue

A flag indicating whether the window can be closed interactively.

publiccanMaximizeBooleantrue

A flag indicating whether the window can be maximized interactively.

publiccanMinimizeBooleantrue

A flag indicating whether the window can be minimized interactively.

publiccontentNode

A node representing the window's contents.

publicfillPaintColor.LIGHTGRAY

The fill of the window's background.

publiciconImage

The icon displayed in the window's title bar, to the left of the window's title.

publicmenuMenu

The menu displayed below the window's title bar.

publicmodalBooleanfalse

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  
publiconClosedfunction():Void

Invoked when the window is closed.

publicsizableBooleantrue

A flag indicating whether the window can be resized interactively.

public-readstateIntegerNORMAL

The window's state.

The window's state. One of the values defined in the WindowState class.

NORMAL  
publicstateChangedfunction():Void

Invoked when the state of this window has changed.

publictagObject

An user object associated with the window.

publictitleString

The string displayed as a window's title.

publictoolBarToolBar

The toolbar displayed below the window's title bar and menu.

Function Summary

protected addMdiChild(mdiChild: Window) : Void

Adds the specified window as a child to this window.

Adds the specified window as a child to this window.

Parameters
mdiChild
The window to add as a child.
 

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

Maximizes the window.

Maximizes the window. If the window is already maximized, restores it to its original position.

 
public toggleMinimize() : Void

Minimizes the window.

Minimizes the window. If the window is already minimized, restores it to its original position.