| Modifier and Type | Field and Description |
|---|---|
| public static final EventType | ANY
Hides javafx. |
| private static final long | |
| public static final EventType | WINDOW_CLOSE_REQUEST
This event is delivered to a window when there is an external request to close that window. |
| public static final EventType | WINDOW_HIDDEN
This event occurs on window just after it is hidden. |
| public static final EventType | WINDOW_HIDING
This event occurs on window just before it is hidden. |
| public static final EventType | WINDOW_SHOWING
This event occurs on window just before it is shown. |
| public static final EventType | WINDOW_SHOWN
This event occurs on window just after it is shown. |
| Access | Constructor and Description |
|---|---|
| public | WindowEvent(final Window
the event source which sent the event source, final EventType<? extends Event> the event type eventType)Construct a new |
| Modifier and Type | Method and Description |
|---|---|
| public WindowEvent | copyFor(Object
the new source of the copied event newSource, EventTarget the new target of the copied event newTarget)Overrides javafx. Creates and returns a copy of this event with the specified event source and target. |
| public WindowEvent | Returns: the event copy with the fields substitutedthe new source of the copied event newSource, EventTarget the new target of the copied event newTarget, EventType<WindowEvent> the new eventType type)Creates a copy of the given event with the given fields substituted. |
| public EventType | |
| public String | Returns: a string representation of thisWindowEvent object.Overrides java. Returns a string representation of this |
| ANY | back to summary |
|---|---|
| public static final EventType<WindowEvent> ANY Hides javafx. Common supertype for all window event types. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| WINDOW_CLOSE_REQUEST | back to summary |
|---|---|
| public static final EventType<WindowEvent> WINDOW_CLOSE_REQUEST This event is delivered to a window when there is an external request to close that window. If the event is not consumed by any installed window event handler, the default handler for this event closes the corresponding window. | |
| WINDOW_HIDDEN | back to summary |
|---|---|
| public static final EventType<WindowEvent> WINDOW_HIDDEN This event occurs on window just after it is hidden. | |
| WINDOW_HIDING | back to summary |
|---|---|
| public static final EventType<WindowEvent> WINDOW_HIDING This event occurs on window just before it is hidden. | |
| WINDOW_SHOWING | back to summary |
|---|---|
| public static final EventType<WindowEvent> WINDOW_SHOWING This event occurs on window just before it is shown. | |
| WINDOW_SHOWN | back to summary |
|---|---|
| public static final EventType<WindowEvent> WINDOW_SHOWN This event occurs on window just after it is shown. | |
| WindowEvent | back to summary |
|---|---|
| public WindowEvent(final Window source, final EventType<? extends Event> eventType) Construct a new | |
| copyFor | back to summary |
|---|---|
| public WindowEvent copyFor(Object newSource, EventTarget newTarget) Overrides javafx. Doc from javafx. Creates and returns a copy of this event with the specified event source
and target. If the source or target is set to
| |
| copyFor | back to summary |
|---|---|
| public WindowEvent copyFor(Object newSource, EventTarget newTarget, EventType<WindowEvent> type) Creates a copy of the given event with the given fields substituted.
| |
| getEventType | back to summary |
|---|---|
| public EventType Overrides javafx. Doc from javafx. Gets the event type of this event. Objects of the same
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representation of this | |