Package | Description |
---|---|
javafx.stage |
Provides the top-level container classes for JavaFX content.
|
Modifier and Type | Field and Description |
---|---|
static EventType<WindowEvent> |
WindowEvent.ANY
Common supertype for all window event types.
|
private ObjectProperty<EventHandler<WindowEvent>> |
Window.onCloseRequest
Called when there is an external request to close this
Window . |
private EventHandler<WindowEvent> |
WindowBuilder.onCloseRequest |
private ObjectProperty<EventHandler<WindowEvent>> |
Window.onHidden
Called just after the Window has been hidden.
|
private EventHandler<WindowEvent> |
WindowBuilder.onHidden |
private ObjectProperty<EventHandler<WindowEvent>> |
Window.onHiding
Called just prior to the Window being hidden.
|
private EventHandler<WindowEvent> |
WindowBuilder.onHiding |
private ObjectProperty<EventHandler<WindowEvent>> |
Window.onShowing
Called just prior to the Window being shown.
|
private EventHandler<WindowEvent> |
WindowBuilder.onShowing |
private ObjectProperty<EventHandler<WindowEvent>> |
Window.onShown
Called just after the Window is shown.
|
private EventHandler<WindowEvent> |
WindowBuilder.onShown |
static EventType<WindowEvent> |
WindowEvent.WINDOW_CLOSE_REQUEST
This event is delivered to a
window when there is an external request to close that window.
|
static EventType<WindowEvent> |
WindowEvent.WINDOW_HIDDEN
This event occurs on window just after it is hidden.
|
static EventType<WindowEvent> |
WindowEvent.WINDOW_HIDING
This event occurs on window just before it is hidden.
|
static EventType<WindowEvent> |
WindowEvent.WINDOW_SHOWING
This event occurs on window just before it is shown.
|
static EventType<WindowEvent> |
WindowEvent.WINDOW_SHOWN
This event occurs on window just after it is shown.
|
Modifier and Type | Method and Description |
---|---|
EventHandler<WindowEvent> |
Window.getOnCloseRequest()
Gets the value of the property onCloseRequest.
|
EventHandler<WindowEvent> |
Window.getOnHidden()
Gets the value of the property onHidden.
|
EventHandler<WindowEvent> |
Window.getOnHiding()
Gets the value of the property onHiding.
|
EventHandler<WindowEvent> |
Window.getOnShowing()
Gets the value of the property onShowing.
|
EventHandler<WindowEvent> |
Window.getOnShown()
Gets the value of the property onShown.
|
ObjectProperty<EventHandler<WindowEvent>> |
Window.onCloseRequestProperty()
Called when there is an external request to close this
Window . |
ObjectProperty<EventHandler<WindowEvent>> |
Window.onHiddenProperty()
Called just after the Window has been hidden.
|
ObjectProperty<EventHandler<WindowEvent>> |
Window.onHidingProperty()
Called just prior to the Window being hidden.
|
ObjectProperty<EventHandler<WindowEvent>> |
Window.onShowingProperty()
Called just prior to the Window being shown.
|
ObjectProperty<EventHandler<WindowEvent>> |
Window.onShownProperty()
Called just after the Window is shown.
|
Modifier and Type | Method and Description |
---|---|
B |
WindowBuilder.onCloseRequest(EventHandler<WindowEvent> x)
Set the value of the
onCloseRequest property for the instance constructed by this builder. |
B |
WindowBuilder.onHidden(EventHandler<WindowEvent> x)
Set the value of the
onHidden property for the instance constructed by this builder. |
B |
WindowBuilder.onHiding(EventHandler<WindowEvent> x)
Set the value of the
onHiding property for the instance constructed by this builder. |
B |
WindowBuilder.onShowing(EventHandler<WindowEvent> x)
Set the value of the
onShowing property for the instance constructed by this builder. |
B |
WindowBuilder.onShown(EventHandler<WindowEvent> x)
Set the value of the
onShown property for the instance constructed by this builder. |
void |
Window.setOnCloseRequest(EventHandler<WindowEvent> value)
Sets the value of the property onCloseRequest.
|
void |
Window.setOnHidden(EventHandler<WindowEvent> value)
Sets the value of the property onHidden.
|
void |
Window.setOnHiding(EventHandler<WindowEvent> value)
Sets the value of the property onHiding.
|
void |
Window.setOnShowing(EventHandler<WindowEvent> value)
Sets the value of the property onShowing.
|
void |
Window.setOnShown(EventHandler<WindowEvent> value)
Sets the value of the property onShown.
|
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.