Uses of Class
javafx.stage.WindowEvent
Packages that use WindowEvent
-
Uses of WindowEvent in javafx.stage
Fields in javafx.stage with type parameters of type WindowEventModifier and TypeFieldDescriptionstatic final EventType<WindowEvent>WindowEvent.ANYCommon supertype for all window event types.static final EventType<WindowEvent>WindowEvent.WINDOW_CLOSE_REQUESTThis event is delivered to a window when there is an external request to close that window.static final EventType<WindowEvent>WindowEvent.WINDOW_HIDDENThis event occurs on window just after it is hidden.static final EventType<WindowEvent>WindowEvent.WINDOW_HIDINGThis event occurs on window just before it is hidden.static final EventType<WindowEvent>WindowEvent.WINDOW_SHOWINGThis event occurs on window just before it is shown.static final EventType<WindowEvent>WindowEvent.WINDOW_SHOWNThis event occurs on window just after it is shown.Methods in javafx.stage that return WindowEventModifier and TypeMethodDescriptionWindowEvent.copyFor(Object newSource, EventTarget newTarget) WindowEvent.copyFor(Object newSource, EventTarget newTarget, EventType<WindowEvent> type) Creates a copy of the given event with the given fields substituted.Methods in javafx.stage that return types with arguments of type WindowEventModifier and TypeMethodDescriptionWindowEvent.getEventType()final EventHandler<WindowEvent>Window.getOnCloseRequest()Gets the value of theonCloseRequestproperty.final EventHandler<WindowEvent>Window.getOnHidden()Gets the value of theonHiddenproperty.final EventHandler<WindowEvent>Window.getOnHiding()Gets the value of theonHidingproperty.final EventHandler<WindowEvent>Window.getOnShowing()Gets the value of theonShowingproperty.final EventHandler<WindowEvent>Window.getOnShown()Gets the value of theonShownproperty.final ObjectProperty<EventHandler<WindowEvent>>Window.onCloseRequestProperty()Called when there is an external request to close thisWindow.final ObjectProperty<EventHandler<WindowEvent>>Window.onHiddenProperty()Called just after the Window has been hidden.final ObjectProperty<EventHandler<WindowEvent>>Window.onHidingProperty()Called just prior to the Window being hidden.final ObjectProperty<EventHandler<WindowEvent>>Window.onShowingProperty()Called just prior to the Window being shown.final ObjectProperty<EventHandler<WindowEvent>>Window.onShownProperty()Called just after the Window is shown.Method parameters in javafx.stage with type arguments of type WindowEventModifier and TypeMethodDescriptionWindowEvent.copyFor(Object newSource, EventTarget newTarget, EventType<WindowEvent> type) Creates a copy of the given event with the given fields substituted.final voidWindow.setOnCloseRequest(EventHandler<WindowEvent> value) Sets the value of theonCloseRequestproperty.final voidWindow.setOnHidden(EventHandler<WindowEvent> value) Sets the value of theonHiddenproperty.final voidWindow.setOnHiding(EventHandler<WindowEvent> value) Sets the value of theonHidingproperty.final voidWindow.setOnShowing(EventHandler<WindowEvent> value) Sets the value of theonShowingproperty.final voidWindow.setOnShown(EventHandler<WindowEvent> value) Sets the value of theonShownproperty.