Overview
A Frame
object is a top-level window.
Attribute Summary
name | type | description |
---|---|---|
Public | ||
iconified | Boolean | More: [+] |
Protected |
Inherited Attributes
javafx.application.Window
name | type | description |
---|---|---|
canvasStage | CanvasStageImpl | More: [+] |
closeAction | function():Void | More: [+] |
height | Integer | More: [+] |
icons | Image[] |
Defines the icon images to be used in the window decorations and when minimized. More: [+]Defines the icon images to be used in the window decorations and when minimized. The images should be different sizes of the same thing and the best size will be chosen, eg. 16x16, 32,32. |
name | String | More: [+] |
opacity | Number |
Defines the opacity of the whole of this Defines the opacity of the whole of this |
resizable | Boolean |
Defines whether this Defines whether this |
stage | Stage |
This is the stage that the window presents on screen for showing content. More: [+]This is the stage that the window presents on screen for showing content. |
title | String |
Defines the title of the Defines the title of the |
visible | Boolean | More: [+] |
width | Integer | More: [+] |
window | Window | More: [+] |
windowStyle | WindowStyle |
Defines the possible styles for a Defines the possible styles for a Note: this attribute can only be set once. Any changes after the constructor is called will be ignored. |
x | Integer | More: [+] |
y | Integer | More: [+] |
Inherited Functions
javafx.application.Window
- public close() : Void
-
Close this window and indicate that there's no intention to use it again.
More: [+]Close this window and indicate that there's no intention to use it again. If this is an application (vs. Applet), VM will exit after all windows are closed provided all Timelines are stoped as well. Window *can* be shown again with
visible = true
. - public toBack() : Void
-
If this Window is visible, sends this Window to the back and may cause it to lose focus or activation if it is the focused or active Window.
More: [+]If this Window is visible, sends this Window to the back and may cause it to lose focus or activation if it is the focused or active Window.
- public toFront() : Void
-
If this Window is visible, brings this Window to the front and may make it the focused Window.
More: [+]If this Window is visible, brings this Window to the front and may make it the focused Window.