javafx.ui

Frame

Extends: AbstractFrame

A Frame is a top-level window with a title and a border, and an optional menu bar.

Attributes

public background: Color?
public centerOnScreen: Boolean
private compListener: java.awt.event.ComponentListener
public content: Widget
public dispose: Boolean
public disposeOnClose: Boolean
private frame: javax.swing.JFrame
public height: Number?
public hideOnClose: Boolean
public iconImage: Image?
The icon image for this frame, or null if this frame doesn't have an icon image.
public iconified: Boolean
private inListener: Boolean
public menubar: MenuBar?
public onClose: function():*
public owner: UIElement?
public resizable: Boolean
This field indicates whether the frame is resizable. This property can be changed at any time. resizable will be true if the frame is resizable, otherwise it will be false.
public screenx: Number?
public screeny: Number?
public shape: Shape?
public showing: Boolean
public title: String
This is the title of the frame. It can be changed at any time.
public undecorated: Boolean
Disables or enables decorations for this frame. This attribute can only be set while the frame is not displayable.
public visible: Boolean
Makes the frame visible or invisible. Frame's are initially invisible. You must explicitly assign true to this attribute to make the frame visible on the screen.
public width: Number?
private winListener: java.awt.event.WindowListener

Attributes Inherited from javafx.ui.AbstractFrame

win

Attributes Inherited from javafx.ui.UIElement

lookAndFeel

Operations/Functions

public close()
public hide()
public move(dx: Number, dy: Number)
public pack()
public resize(dx: Number, dy: Number)
protected setContentPane(widget: Widget)
public show()
public showDialog(d: Dialog)
public toFront()

Operations/Functions Inherited from javafx.ui.UIElement

getWindow