# Uses of Interface
javafx.event.EventHandler

Packages that use EventHandler
Package
Description
javafx.animation
Provides the set of classes for ease of use transition based animations.
javafx.concurrent
Provides the set of classes for javafx.concurrent.
javafx.event
Provides basic framework for FX events, their delivery and handling.
javafx.scene
Provides the core set of base classes for the JavaFX Scene Graph API.
javafx.scene.control
The JavaFX User Interface Controls (UI Controls or just Controls) are specialized Nodes in the JavaFX Scenegraph especially suited for reuse in many different application contexts.
javafx.scene.media
Provides the set of classes for integrating audio and video into Java FX Applications.
javafx.scene.transform
Provides the set of convenient classes to perform rotating, scaling, shearing, and translation transformations for `Affine` objects.
javafx.scene.web
This package provides means for loading and displaying Web content.
javafx.stage
Provides the top-level container classes for JavaFX content.

- ## Uses of EventHandler in javafx.animation

  Methods in javafx.animation that return EventHandler
  Modifier and Type
  Method
  Description
  `final EventHandler<ActionEvent>`
  Animation.`getOnFinished()`
  Gets the value of the `onFinished` property.
  `EventHandler<ActionEvent>`
  KeyFrame.`getOnFinished()`
  Returns the `onFinished` event handler of this `KeyFrame`.
  Methods in javafx.animation that return types with arguments of type EventHandler
  Modifier and Type
  Method
  Description
  `final ObjectProperty<EventHandler<ActionEvent>>`
  Animation.`onFinishedProperty()`
  The action to be executed at the conclusion of this `Animation`.
  Methods in javafx.animation with parameters of type EventHandler
  Modifier and Type
  Method
  Description
  `final void`
  Animation.`setOnFinished(EventHandler<ActionEvent> value)`
  Sets the value of the `onFinished` property.
  Constructors in javafx.animation with parameters of type EventHandler
  Modifier
  Constructor
  Description
  ``
  `KeyFrame(Duration time, String name, EventHandler<ActionEvent> onFinished, Collection<KeyValue> values)`
  Constructor of `KeyFrame`
  ``
  `KeyFrame(Duration time, String name, EventHandler<ActionEvent> onFinished, KeyValue... values)`
  Constructor of `KeyFrame`
  ``
  `KeyFrame(Duration time, EventHandler<ActionEvent> onFinished, KeyValue... values)`
  Constructor of `KeyFrame`

- ## Uses of EventHandler in javafx.concurrent

  Methods in javafx.concurrent that return EventHandler
  Modifier and Type
  Method
  Description
  `final EventHandler<WorkerStateEvent>`
  Service.`getOnCancelled()`
  The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.
  `final EventHandler<WorkerStateEvent>`
  Task.`getOnCancelled()`
  The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.
  `final EventHandler<WorkerStateEvent>`
  Service.`getOnFailed()`
  The onFailed event handler is called whenever the Task state transitions to the FAILED state.
  `final EventHandler<WorkerStateEvent>`
  Task.`getOnFailed()`
  The onFailed event handler is called whenever the Task state transitions to the FAILED state.
  `final EventHandler<WorkerStateEvent>`
  Service.`getOnReady()`
  The onReady event handler is called whenever the Task state transitions to the READY state.
  `final EventHandler<WorkerStateEvent>`
  Service.`getOnRunning()`
  The onRunning event handler is called whenever the Task state transitions to the RUNNING state.
  `final EventHandler<WorkerStateEvent>`
  Task.`getOnRunning()`
  The onRunning event handler is called whenever the Task state transitions to the RUNNING state.
  `final EventHandler<WorkerStateEvent>`
  Service.`getOnScheduled()`
  The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.
  `final EventHandler<WorkerStateEvent>`
  Task.`getOnScheduled()`
  The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.
  `final EventHandler<WorkerStateEvent>`
  Service.`getOnSucceeded()`
  The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.
  `final EventHandler<WorkerStateEvent>`
  Task.`getOnSucceeded()`
  The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.
  Methods in javafx.concurrent that return types with arguments of type EventHandler
  Modifier and Type
  Method
  Description
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Service.`onCancelledProperty()`
  The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Task.`onCancelledProperty()`
  The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Service.`onFailedProperty()`
  The onFailed event handler is called whenever the Task state transitions to the FAILED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Task.`onFailedProperty()`
  The onFailed event handler is called whenever the Task state transitions to the FAILED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Service.`onReadyProperty()`
  The onReady event handler is called whenever the Task state transitions to the READY state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Service.`onRunningProperty()`
  The onRunning event handler is called whenever the Task state transitions to the RUNNING state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Task.`onRunningProperty()`
  The onRunning event handler is called whenever the Task state transitions to the RUNNING state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Service.`onScheduledProperty()`
  The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Task.`onScheduledProperty()`
  The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Service.`onSucceededProperty()`
  The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.
  `final ObjectProperty<EventHandler<WorkerStateEvent>>`
  Task.`onSucceededProperty()`
  The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.
  Methods in javafx.concurrent with parameters of type EventHandler
  Modifier and Type
  Method
  Description
  `final <T extends Event>
  void`
  Service.`addEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)`
  Registers an event filter for this target.
  `final <T extends Event>
  void`
  Task.`addEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)`
  Registers an event filter for this target.
  `final <T extends Event>
  void`
  Service.`addEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  Registers an event handler for this target.
  `final <T extends Event>
  void`
  Task.`addEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  Registers an event handler for this target.
  `final <T extends Event>
  void`
  Service.`removeEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)`
  Unregisters a previously registered event filter from this target.
  `final <T extends Event>
  void`
  Task.`removeEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)`
  Unregisters a previously registered event filter from this target.
  `final <T extends Event>
  void`
  Service.`removeEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  Unregisters a previously registered event handler from this target.
  `final <T extends Event>
  void`
  Task.`removeEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  Unregisters a previously registered event handler from this target.
  `protected final <T extends Event>
  void`
  Service.`setEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  Sets the handler to use for this event type.
  `protected final <T extends Event>
  void`
  Task.`setEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  Sets the handler to use for this event type.
  `final void`
  Service.`setOnCancelled(EventHandler<WorkerStateEvent> value)`
  The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.
  `final void`
  Task.`setOnCancelled(EventHandler<WorkerStateEvent> value)`
  The onCancelled event handler is called whenever the Task state transitions to the CANCELLED state.
  `final void`
  Service.`setOnFailed(EventHandler<WorkerStateEvent> value)`
  The onFailed event handler is called whenever the Task state transitions to the FAILED state.
  `final void`
  Task.`setOnFailed(EventHandler<WorkerStateEvent> value)`
  The onFailed event handler is called whenever the Task state transitions to the FAILED state.
  `final void`
  Service.`setOnReady(EventHandler<WorkerStateEvent> value)`
  The onReady event handler is called whenever the Task state transitions to the READY state.
  `final void`
  Service.`setOnRunning(EventHandler<WorkerStateEvent> value)`
  The onRunning event handler is called whenever the Task state transitions to the RUNNING state.
  `final void`
  Task.`setOnRunning(EventHandler<WorkerStateEvent> value)`
  The onRunning event handler is called whenever the Task state transitions to the RUNNING state.
  `final void`
  Service.`setOnScheduled(EventHandler<WorkerStateEvent> value)`
  The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.
  `final void`
  Task.`setOnScheduled(EventHandler<WorkerStateEvent> value)`
  The onSchedule event handler is called whenever the Task state transitions to the SCHEDULED state.
  `final void`
  Service.`setOnSucceeded(EventHandler<WorkerStateEvent> value)`
  The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.
  `final void`
  Task.`setOnSucceeded(EventHandler<WorkerStateEvent> value)`
  The onSucceeded event handler is called whenever the Task state transitions to the SUCCEEDED state.

- ## Uses of EventHandler in javafx.event

  Classes in javafx.event that implement EventHandler
  Modifier and Type
  Class
  Description
  `final class`
  `WeakEventHandler<T extends Event>`
  Used in event handler registration in place of its associated event handler.
  Methods in javafx.event with parameters of type EventHandler
  Modifier and Type
  Method
  Description
  `default <E extends Event>
  void`
  EventTarget.`addEventFilter(EventType<E> eventType, EventHandler<? super E> eventFilter)`
  Registers an event filter for this target.
  `default <E extends Event>
  void`
  EventTarget.`addEventHandler(EventType<E> eventType, EventHandler<? super E> eventHandler)`
  Registers an event handler for this target.
  `default <E extends Event>
  void`
  EventTarget.`removeEventFilter(EventType<E> eventType, EventHandler<? super E> eventFilter)`
  Unregisters a previously registered event filter from this target.
  `default <E extends Event>
  void`
  EventTarget.`removeEventHandler(EventType<E> eventType, EventHandler<? super E> eventHandler)`
  Unregisters a previously registered event handler from this target.
  Constructors in javafx.event with parameters of type EventHandler
  Modifier
  Constructor
  Description
  ``
  `WeakEventHandler(EventHandler<T> eventHandler)`
  Creates a new instance of `WeakEventHandler`.

- ## Uses of EventHandler in javafx.scene

  Methods in javafx.scene that return EventHandler
  Modifier and Type
  Method
  Description
  `final EventHandler<? super ContextMenuEvent>`
  Node.`getOnContextMenuRequested()`
  Gets the value of the `onContextMenuRequested` property.
  `final EventHandler<? super ContextMenuEvent>`
  Scene.`getOnContextMenuRequested()`
  Gets the value of the `onContextMenuRequested` property.
  `final EventHandler<? super MouseEvent>`
  Node.`getOnDragDetected()`
  Gets the value of the `onDragDetected` property.
  `final EventHandler<? super MouseEvent>`
  Scene.`getOnDragDetected()`
  Gets the value of the `onDragDetected` property.
  `final EventHandler<? super DragEvent>`
  Node.`getOnDragDone()`
  Gets the value of the `onDragDone` property.
  `final EventHandler<? super DragEvent>`
  Scene.`getOnDragDone()`
  Gets the value of the `onDragDone` property.
  `final EventHandler<? super DragEvent>`
  Node.`getOnDragDropped()`
  Gets the value of the `onDragDropped` property.
  `final EventHandler<? super DragEvent>`
  Scene.`getOnDragDropped()`
  Gets the value of the `onDragDropped` property.
  `final EventHandler<? super DragEvent>`
  Node.`getOnDragEntered()`
  Gets the value of the `onDragEntered` property.
  `final EventHandler<? super DragEvent>`
  Scene.`getOnDragEntered()`
  Gets the value of the `onDragEntered` property.
  `final EventHandler<? super DragEvent>`
  Node.`getOnDragExited()`
  Gets the value of the `onDragExited` property.
  `final EventHandler<? super DragEvent>`
  Scene.`getOnDragExited()`
  Gets the value of the `onDragExited` property.
  `final EventHandler<? super DragEvent>`
  Node.`getOnDragOver()`
  Gets the value of the `onDragOver` property.
  `final EventHandler<? super DragEvent>`
  Scene.`getOnDragOver()`
  Gets the value of the `onDragOver` property.
  `final EventHandler<? super InputMethodEvent>`
  Node.`getOnInputMethodTextChanged()`
  Gets the value of the `onInputMethodTextChanged` property.
  `final EventHandler<? super InputMethodEvent>`
  Scene.`getOnInputMethodTextChanged()`
  Gets the value of the `onInputMethodTextChanged` property.
  `final EventHandler<? super KeyEvent>`
  Node.`getOnKeyPressed()`
  Gets the value of the `onKeyPressed` property.
  `final EventHandler<? super KeyEvent>`
  Scene.`getOnKeyPressed()`
  Gets the value of the `onKeyPressed` property.
  `final EventHandler<? super KeyEvent>`
  Node.`getOnKeyReleased()`
  Gets the value of the `onKeyReleased` property.
  `final EventHandler<? super KeyEvent>`
  Scene.`getOnKeyReleased()`
  Gets the value of the `onKeyReleased` property.
  `final EventHandler<? super KeyEvent>`
  Node.`getOnKeyTyped()`
  Gets the value of the `onKeyTyped` property.
  `final EventHandler<? super KeyEvent>`
  Scene.`getOnKeyTyped()`
  Gets the value of the `onKeyTyped` property.
  `final EventHandler<? super MouseEvent>`
  Node.`getOnMouseClicked()`
  Gets the value of the `onMouseClicked` property.
  `final EventHandler<? super MouseEvent>`
  Scene.`getOnMouseClicked()`
  Gets the value of the `onMouseClicked` property.
  `final EventHandler<? super MouseDragEvent>`
  Node.`getOnMouseDragEntered()`
  Gets the value of the `onMouseDragEntered` property.
  `final EventHandler<? super MouseDragEvent>`
  Scene.`getOnMouseDragEntered()`
  Gets the value of the `onMouseDragEntered` property.
  `final EventHandler<? super MouseDragEvent>`
  Node.`getOnMouseDragExited()`
  Gets the value of the `onMouseDragExited` property.
  `final EventHandler<? super MouseDragEvent>`
  Scene.`getOnMouseDragExited()`
  Gets the value of the `onMouseDragExited` property.
  `final EventHandler<? super MouseEvent>`
  Node.`getOnMouseDragged()`
  Gets the value of the `onMouseDragged` property.
  `final EventHandler<? super MouseEvent>`
  Scene.`getOnMouseDragged()`
  Gets the value of the `onMouseDragged` property.
  `final EventHandler<? super MouseDragEvent>`
  Node.`getOnMouseDragOver()`
  Gets the value of the `onMouseDragOver` property.
  `final EventHandler<? super MouseDragEvent>`
  Scene.`getOnMouseDragOver()`
  Gets the value of the `onMouseDragOver` property.
  `final EventHandler<? super MouseDragEvent>`
  Node.`getOnMouseDragReleased()`
  Gets the value of the `onMouseDragReleased` property.
  `final EventHandler<? super MouseDragEvent>`
  Scene.`getOnMouseDragReleased()`
  Gets the value of the `onMouseDragReleased` property.
  `final EventHandler<? super MouseEvent>`
  Node.`getOnMouseEntered()`
  Gets the value of the `onMouseEntered` property.
  `final EventHandler<? super MouseEvent>`
  Scene.`getOnMouseEntered()`
  Gets the value of the `onMouseEntered` property.
  `final EventHandler<? super MouseEvent>`
  Node.`getOnMouseExited()`
  Gets the value of the `onMouseExited` property.
  `final EventHandler<? super MouseEvent>`
  Scene.`getOnMouseExited()`
  Gets the value of the `onMouseExited` property.
  `final EventHandler<? super MouseEvent>`
  Node.`getOnMouseMoved()`
  Gets the value of the `onMouseMoved` property.
  `final EventHandler<? super MouseEvent>`
  Scene.`getOnMouseMoved()`
  Gets the value of the `onMouseMoved` property.
  `final EventHandler<? super MouseEvent>`
  Node.`getOnMousePressed()`
  Gets the value of the `onMousePressed` property.
  `final EventHandler<? super MouseEvent>`
  Scene.`getOnMousePressed()`
  Gets the value of the `onMousePressed` property.
  `final EventHandler<? super MouseEvent>`
  Node.`getOnMouseReleased()`
  Gets the value of the `onMouseReleased` property.
  `final EventHandler<? super MouseEvent>`
  Scene.`getOnMouseReleased()`
  Gets the value of the `onMouseReleased` property.
  `final EventHandler<? super RotateEvent>`
  Node.`getOnRotate()`
  Gets the value of the `onRotate` property.
  `final EventHandler<? super RotateEvent>`
  Scene.`getOnRotate()`
  Gets the value of the `onRotate` property.
  `final EventHandler<? super RotateEvent>`
  Node.`getOnRotationFinished()`
  Gets the value of the `onRotationFinished` property.
  `final EventHandler<? super RotateEvent>`
  Scene.`getOnRotationFinished()`
  Gets the value of the `onRotationFinished` property.
  `final EventHandler<? super RotateEvent>`
  Node.`getOnRotationStarted()`
  Gets the value of the `onRotationStarted` property.
  `final EventHandler<? super RotateEvent>`
  Scene.`getOnRotationStarted()`
  Gets the value of the `onRotationStarted` property.
  `final EventHandler<? super ScrollEvent>`
  Node.`getOnScroll()`
  Gets the value of the `onScroll` property.
  `final EventHandler<? super ScrollEvent>`
  Scene.`getOnScroll()`
  Gets the value of the `onScroll` property.
  `final EventHandler<? super ScrollEvent>`
  Node.`getOnScrollFinished()`
  Gets the value of the `onScrollFinished` property.
  `final EventHandler<? super ScrollEvent>`
  Scene.`getOnScrollFinished()`
  Gets the value of the `onScrollFinished` property.
  `final EventHandler<? super ScrollEvent>`
  Node.`getOnScrollStarted()`
  Gets the value of the `onScrollStarted` property.
  `final EventHandler<? super ScrollEvent>`
  Scene.`getOnScrollStarted()`
  Gets the value of the `onScrollStarted` property.
  `final EventHandler<? super SwipeEvent>`
  Node.`getOnSwipeDown()`
  Gets the value of the `onSwipeDown` property.
  `final EventHandler<? super SwipeEvent>`
  Scene.`getOnSwipeDown()`
  Gets the value of the `onSwipeDown` property.
  `final EventHandler<? super SwipeEvent>`
  Node.`getOnSwipeLeft()`
  Gets the value of the `onSwipeLeft` property.
  `final EventHandler<? super SwipeEvent>`
  Scene.`getOnSwipeLeft()`
  Gets the value of the `onSwipeLeft` property.
  `final EventHandler<? super SwipeEvent>`
  Node.`getOnSwipeRight()`
  Gets the value of the `onSwipeRight` property.
  `final EventHandler<? super SwipeEvent>`
  Scene.`getOnSwipeRight()`
  Gets the value of the `onSwipeRight` property.
  `final EventHandler<? super SwipeEvent>`
  Node.`getOnSwipeUp()`
  Gets the value of the `onSwipeUp` property.
  `final EventHandler<? super SwipeEvent>`
  Scene.`getOnSwipeUp()`
  Gets the value of the `onSwipeUp` property.
  `final EventHandler<? super TouchEvent>`
  Node.`getOnTouchMoved()`
  Gets the value of the `onTouchMoved` property.
  `final EventHandler<? super TouchEvent>`
  Scene.`getOnTouchMoved()`
  Gets the value of the `onTouchMoved` property.
  `final EventHandler<? super TouchEvent>`
  Node.`getOnTouchPressed()`
  Gets the value of the `onTouchPressed` property.
  `final EventHandler<? super TouchEvent>`
  Scene.`getOnTouchPressed()`
  Gets the value of the `onTouchPressed` property.
  `final EventHandler<? super TouchEvent>`
  Node.`getOnTouchReleased()`
  Gets the value of the `onTouchReleased` property.
  `final EventHandler<? super TouchEvent>`
  Scene.`getOnTouchReleased()`
  Gets the value of the `onTouchReleased` property.
  `final EventHandler<? super TouchEvent>`
  Node.`getOnTouchStationary()`
  Gets the value of the `onTouchStationary` property.
  `final EventHandler<? super TouchEvent>`
  Scene.`getOnTouchStationary()`
  Gets the value of the `onTouchStationary` property.
  `final EventHandler<? super ZoomEvent>`
  Node.`getOnZoom()`
  Gets the value of the `onZoom` property.
  `final EventHandler<? super ZoomEvent>`
  Scene.`getOnZoom()`
  Gets the value of the `onZoom` property.
  `final EventHandler<? super ZoomEvent>`
  Node.`getOnZoomFinished()`
  Gets the value of the `onZoomFinished` property.
  `final EventHandler<? super ZoomEvent>`
  Scene.`getOnZoomFinished()`
  Gets the value of the `onZoomFinished` property.
  `final EventHandler<? super ZoomEvent>`
  Node.`getOnZoomStarted()`
  Gets the value of the `onZoomStarted` property.
  `final EventHandler<? super ZoomEvent>`
  Scene.`getOnZoomStarted()`
  Gets the value of the `onZoomStarted` property.
  Methods in javafx.scene that return types with arguments of type EventHandler
  Modifier and Type
  Method
  Description
  `final ObjectProperty<EventHandler<? super ContextMenuEvent>>`
  Node.`onContextMenuRequestedProperty()`
  Defines a function to be called when a context menu has been requested on this `Node`.
  `final ObjectProperty<EventHandler<? super ContextMenuEvent>>`
  Scene.`onContextMenuRequestedProperty()`
  Defines a function to be called when a mouse button has been clicked (pressed and released) on this `Scene`.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Node.`onDragDetectedProperty()`
  Defines a function to be called when drag gesture has been detected.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Scene.`onDragDetectedProperty()`
  Defines a function to be called when drag gesture has been detected.
  `final ObjectProperty<EventHandler<? super DragEvent>>`
  Node.`onDragDoneProperty()`
  Defines a function to be called when this `Node` is a drag and drop gesture source after its data has been dropped on a drop target.
  `final ObjectProperty<EventHandler<? super DragEvent>>`
  Scene.`onDragDoneProperty()`
  Defines a function to be called when this `Scene` is a drag and drop gesture source after its data has been dropped on a drop target.
  `final ObjectProperty<EventHandler<? super DragEvent>>`
  Node.`onDragDroppedProperty()`
  Defines a function to be called when the mouse button is released on this `Node` during drag and drop gesture.
  `final ObjectProperty<EventHandler<? super DragEvent>>`
  Scene.`onDragDroppedProperty()`
  Defines a function to be called when the mouse button is released on this `Scene` during drag and drop gesture.
  `final ObjectProperty<EventHandler<? super DragEvent>>`
  Node.`onDragEnteredProperty()`
  Defines a function to be called when drag gesture enters this `Node`.
  `final ObjectProperty<EventHandler<? super DragEvent>>`
  Scene.`onDragEnteredProperty()`
  Defines a function to be called when drag gesture enters this `Scene`.
  `final ObjectProperty<EventHandler<? super DragEvent>>`
  Node.`onDragExitedProperty()`
  Defines a function to be called when drag gesture exits this `Node`.
  `final ObjectProperty<EventHandler<? super DragEvent>>`
  Scene.`onDragExitedProperty()`
  Defines a function to be called when drag gesture exits this `Scene`.
  `final ObjectProperty<EventHandler<? super DragEvent>>`
  Node.`onDragOverProperty()`
  Defines a function to be called when drag gesture progresses within this `Node`.
  `final ObjectProperty<EventHandler<? super DragEvent>>`
  Scene.`onDragOverProperty()`
  Defines a function to be called when drag gesture progresses within this `Scene`.
  `final ObjectProperty<EventHandler<? super InputMethodEvent>>`
  Node.`onInputMethodTextChangedProperty()`
  Defines a function to be called when this `Node` has input focus and the input method text has changed.
  `final ObjectProperty<EventHandler<? super InputMethodEvent>>`
  Scene.`onInputMethodTextChangedProperty()`
  Defines a function to be called when this `Node` has input focus and the input method text has changed.
  `final ObjectProperty<EventHandler<? super KeyEvent>>`
  Node.`onKeyPressedProperty()`
  Defines a function to be called when this `Node` or its child `Node` has input focus and a key has been pressed.
  `final ObjectProperty<EventHandler<? super KeyEvent>>`
  Scene.`onKeyPressedProperty()`
  Defines a function to be called when some `Node` of this `Scene` has input focus and a key has been pressed.
  `final ObjectProperty<EventHandler<? super KeyEvent>>`
  Node.`onKeyReleasedProperty()`
  Defines a function to be called when this `Node` or its child `Node` has input focus and a key has been released.
  `final ObjectProperty<EventHandler<? super KeyEvent>>`
  Scene.`onKeyReleasedProperty()`
  Defines a function to be called when some `Node` of this `Scene` has input focus and a key has been released.
  `final ObjectProperty<EventHandler<? super KeyEvent>>`
  Node.`onKeyTypedProperty()`
  Defines a function to be called when this `Node` or its child `Node` has input focus and a key has been typed.
  `final ObjectProperty<EventHandler<? super KeyEvent>>`
  Scene.`onKeyTypedProperty()`
  Defines a function to be called when some `Node` of this `Scene` has input focus and a key has been typed.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Node.`onMouseClickedProperty()`
  Defines a function to be called when a mouse button has been clicked (pressed and released) on this `Node`.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Scene.`onMouseClickedProperty()`
  Defines a function to be called when a mouse button has been clicked (pressed and released) on this `Scene`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Node.`onMouseDragEnteredProperty()`
  Defines a function to be called when a full press-drag-release gesture enters this `Node`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Scene.`onMouseDragEnteredProperty()`
  Defines a function to be called when a full press-drag-release gesture enters this `Scene`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Node.`onMouseDragExitedProperty()`
  Defines a function to be called when a full press-drag-release gesture leaves this `Node`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Scene.`onMouseDragExitedProperty()`
  Defines a function to be called when a full press-drag-release gesture exits this `Scene`.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Node.`onMouseDraggedProperty()`
  Defines a function to be called when a mouse button is pressed on this `Node` and then dragged.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Scene.`onMouseDraggedProperty()`
  Defines a function to be called when a mouse button is pressed on this `Scene` and then dragged.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Node.`onMouseDragOverProperty()`
  Defines a function to be called when a full press-drag-release gesture progresses within this `Node`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Scene.`onMouseDragOverProperty()`
  Defines a function to be called when a full press-drag-release gesture progresses within this `Scene`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Node.`onMouseDragReleasedProperty()`
  Defines a function to be called when a full press-drag-release gesture ends (by releasing mouse button) within this `Node`.
  `final ObjectProperty<EventHandler<? super MouseDragEvent>>`
  Scene.`onMouseDragReleasedProperty()`
  Defines a function to be called when a full press-drag-release gesture ends within this `Scene`.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Node.`onMouseEnteredProperty()`
  Defines a function to be called when the mouse enters this `Node`.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Scene.`onMouseEnteredProperty()`
  Defines a function to be called when the mouse enters this `Scene`.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Node.`onMouseExitedProperty()`
  Defines a function to be called when the mouse exits this `Node`.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Scene.`onMouseExitedProperty()`
  Defines a function to be called when the mouse exits this `Scene`.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Node.`onMouseMovedProperty()`
  Defines a function to be called when mouse cursor moves within this `Node` but no buttons have been pushed.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Scene.`onMouseMovedProperty()`
  Defines a function to be called when mouse cursor moves within this `Scene` but no buttons have been pushed.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Node.`onMousePressedProperty()`
  Defines a function to be called when a mouse button has been pressed on this `Node`.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Scene.`onMousePressedProperty()`
  Defines a function to be called when a mouse button has been pressed on this `Scene`.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Node.`onMouseReleasedProperty()`
  Defines a function to be called when a mouse button has been released on this `Node`.
  `final ObjectProperty<EventHandler<? super MouseEvent>>`
  Scene.`onMouseReleasedProperty()`
  Defines a function to be called when a mouse button has been released on this `Scene`.
  `final ObjectProperty<EventHandler<? super RotateEvent>>`
  Node.`onRotateProperty()`
  Defines a function to be called when user performs a rotation action.
  `final ObjectProperty<EventHandler<? super RotateEvent>>`
  Scene.`onRotateProperty()`
  Defines a function to be called when user performs a rotating action.
  `final ObjectProperty<EventHandler<? super RotateEvent>>`
  Node.`onRotationFinishedProperty()`
  Defines a function to be called when a rotation gesture ends.
  `final ObjectProperty<EventHandler<? super RotateEvent>>`
  Scene.`onRotationFinishedProperty()`
  Defines a function to be called when a rotating gesture ends.
  `final ObjectProperty<EventHandler<? super RotateEvent>>`
  Node.`onRotationStartedProperty()`
  Defines a function to be called when a rotation gesture is detected.
  `final ObjectProperty<EventHandler<? super RotateEvent>>`
  Scene.`onRotationStartedProperty()`
  Defines a function to be called when a rotating gesture is detected.
  `final ObjectProperty<EventHandler<? super ScrollEvent>>`
  Node.`onScrollFinishedProperty()`
  Defines a function to be called when a scrolling gesture ends.
  `final ObjectProperty<EventHandler<? super ScrollEvent>>`
  Scene.`onScrollFinishedProperty()`
  Defines a function to be called when a scrolling gesture ends.
  `final ObjectProperty<EventHandler<? super ScrollEvent>>`
  Node.`onScrollProperty()`
  Defines a function to be called when user performs a scrolling action.
  `final ObjectProperty<EventHandler<? super ScrollEvent>>`
  Scene.`onScrollProperty()`
  Defines a function to be called when user performs a scrolling action.
  `final ObjectProperty<EventHandler<? super ScrollEvent>>`
  Node.`onScrollStartedProperty()`
  Defines a function to be called when a scrolling gesture is detected.
  `final ObjectProperty<EventHandler<? super ScrollEvent>>`
  Scene.`onScrollStartedProperty()`
  Defines a function to be called when a scrolling gesture is detected.
  `final ObjectProperty<EventHandler<? super SwipeEvent>>`
  Node.`onSwipeDownProperty()`
  Defines a function to be called when a downward swipe gesture centered over this node happens.
  `final ObjectProperty<EventHandler<? super SwipeEvent>>`
  Scene.`onSwipeDownProperty()`
  Defines a function to be called when an downward swipe gesture happens in this scene.
  `final ObjectProperty<EventHandler<? super SwipeEvent>>`
  Node.`onSwipeLeftProperty()`
  Defines a function to be called when a leftward swipe gesture centered over this node happens.
  `final ObjectProperty<EventHandler<? super SwipeEvent>>`
  Scene.`onSwipeLeftProperty()`
  Defines a function to be called when an leftward swipe gesture happens in this scene.
  `final ObjectProperty<EventHandler<? super SwipeEvent>>`
  Node.`onSwipeRightProperty()`
  Defines a function to be called when an rightward swipe gesture centered over this node happens.
  `final ObjectProperty<EventHandler<? super SwipeEvent>>`
  Scene.`onSwipeRightProperty()`
  Defines a function to be called when an rightward swipe gesture happens in this scene.
  `final ObjectProperty<EventHandler<? super SwipeEvent>>`
  Node.`onSwipeUpProperty()`
  Defines a function to be called when an upward swipe gesture centered over this node happens.
  `final ObjectProperty<EventHandler<? super SwipeEvent>>`
  Scene.`onSwipeUpProperty()`
  Defines a function to be called when an upward swipe gesture happens in this scene.
  `final ObjectProperty<EventHandler<? super TouchEvent>>`
  Node.`onTouchMovedProperty()`
  Defines a function to be called when a touch point is moved.
  `final ObjectProperty<EventHandler<? super TouchEvent>>`
  Scene.`onTouchMovedProperty()`
  Defines a function to be called when a touch point is moved.
  `final ObjectProperty<EventHandler<? super TouchEvent>>`
  Node.`onTouchPressedProperty()`
  Defines a function to be called when a new touch point is pressed.
  `final ObjectProperty<EventHandler<? super TouchEvent>>`
  Scene.`onTouchPressedProperty()`
  Defines a function to be called when a new touch point is pressed.
  `final ObjectProperty<EventHandler<? super TouchEvent>>`
  Node.`onTouchReleasedProperty()`
  Defines a function to be called when a touch point is released.
  `final ObjectProperty<EventHandler<? super TouchEvent>>`
  Scene.`onTouchReleasedProperty()`
  Defines a function to be called when a new touch point is pressed.
  `final ObjectProperty<EventHandler<? super TouchEvent>>`
  Node.`onTouchStationaryProperty()`
  Defines a function to be called when a touch point stays pressed and still.
  `final ObjectProperty<EventHandler<? super TouchEvent>>`
  Scene.`onTouchStationaryProperty()`
  Defines a function to be called when a touch point stays pressed and still.
  `final ObjectProperty<EventHandler<? super ZoomEvent>>`
  Node.`onZoomFinishedProperty()`
  Defines a function to be called when a zooming gesture ends.
  `final ObjectProperty<EventHandler<? super ZoomEvent>>`
  Scene.`onZoomFinishedProperty()`
  Defines a function to be called when a zooming gesture ends.
  `final ObjectProperty<EventHandler<? super ZoomEvent>>`
  Node.`onZoomProperty()`
  Defines a function to be called when user performs a zooming action.
  `final ObjectProperty<EventHandler<? super ZoomEvent>>`
  Scene.`onZoomProperty()`
  Defines a function to be called when user performs a zooming action.
  `final ObjectProperty<EventHandler<? super ZoomEvent>>`
  Node.`onZoomStartedProperty()`
  Defines a function to be called when a zooming gesture is detected.
  `final ObjectProperty<EventHandler<? super ZoomEvent>>`
  Scene.`onZoomStartedProperty()`
  Defines a function to be called when a zooming gesture is detected.
  Methods in javafx.scene with parameters of type EventHandler
  Modifier and Type
  Method
  Description
  `final <T extends Event>
  void`
  Node.`addEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)`
  `final <T extends Event>
  void`
  Scene.`addEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)`
  `final <T extends Event>
  void`
  Node.`addEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  `final <T extends Event>
  void`
  Scene.`addEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  `final <T extends Event>
  void`
  Node.`removeEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)`
  `final <T extends Event>
  void`
  Scene.`removeEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)`
  `final <T extends Event>
  void`
  Node.`removeEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  `final <T extends Event>
  void`
  Scene.`removeEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  `protected final <T extends Event>
  void`
  Node.`setEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  Sets the handler to use for this event type.
  `protected final <T extends Event>
  void`
  Scene.`setEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  Sets the handler to use for this event type.
  `final void`
  Node.`setOnContextMenuRequested(EventHandler<? super ContextMenuEvent> value)`
  Sets the value of the `onContextMenuRequested` property.
  `final void`
  Scene.`setOnContextMenuRequested(EventHandler<? super ContextMenuEvent> value)`
  Sets the value of the `onContextMenuRequested` property.
  `final void`
  Node.`setOnDragDetected(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onDragDetected` property.
  `final void`
  Scene.`setOnDragDetected(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onDragDetected` property.
  `final void`
  Node.`setOnDragDone(EventHandler<? super DragEvent> value)`
  Sets the value of the `onDragDone` property.
  `final void`
  Scene.`setOnDragDone(EventHandler<? super DragEvent> value)`
  Sets the value of the `onDragDone` property.
  `final void`
  Node.`setOnDragDropped(EventHandler<? super DragEvent> value)`
  Sets the value of the `onDragDropped` property.
  `final void`
  Scene.`setOnDragDropped(EventHandler<? super DragEvent> value)`
  Sets the value of the `onDragDropped` property.
  `final void`
  Node.`setOnDragEntered(EventHandler<? super DragEvent> value)`
  Sets the value of the `onDragEntered` property.
  `final void`
  Scene.`setOnDragEntered(EventHandler<? super DragEvent> value)`
  Sets the value of the `onDragEntered` property.
  `final void`
  Node.`setOnDragExited(EventHandler<? super DragEvent> value)`
  Sets the value of the `onDragExited` property.
  `final void`
  Scene.`setOnDragExited(EventHandler<? super DragEvent> value)`
  Sets the value of the `onDragExited` property.
  `final void`
  Node.`setOnDragOver(EventHandler<? super DragEvent> value)`
  Sets the value of the `onDragOver` property.
  `final void`
  Scene.`setOnDragOver(EventHandler<? super DragEvent> value)`
  Sets the value of the `onDragOver` property.
  `final void`
  Node.`setOnInputMethodTextChanged(EventHandler<? super InputMethodEvent> value)`
  Sets the value of the `onInputMethodTextChanged` property.
  `final void`
  Scene.`setOnInputMethodTextChanged(EventHandler<? super InputMethodEvent> value)`
  Sets the value of the `onInputMethodTextChanged` property.
  `final void`
  Node.`setOnKeyPressed(EventHandler<? super KeyEvent> value)`
  Sets the value of the `onKeyPressed` property.
  `final void`
  Scene.`setOnKeyPressed(EventHandler<? super KeyEvent> value)`
  Sets the value of the `onKeyPressed` property.
  `final void`
  Node.`setOnKeyReleased(EventHandler<? super KeyEvent> value)`
  Sets the value of the `onKeyReleased` property.
  `final void`
  Scene.`setOnKeyReleased(EventHandler<? super KeyEvent> value)`
  Sets the value of the `onKeyReleased` property.
  `final void`
  Node.`setOnKeyTyped(EventHandler<? super KeyEvent> value)`
  Sets the value of the `onKeyTyped` property.
  `final void`
  Scene.`setOnKeyTyped(EventHandler<? super KeyEvent> value)`
  Sets the value of the `onKeyTyped` property.
  `final void`
  Node.`setOnMouseClicked(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMouseClicked` property.
  `final void`
  Scene.`setOnMouseClicked(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMouseClicked` property.
  `final void`
  Node.`setOnMouseDragEntered(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragEntered` property.
  `final void`
  Scene.`setOnMouseDragEntered(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragEntered` property.
  `final void`
  Node.`setOnMouseDragExited(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragExited` property.
  `final void`
  Scene.`setOnMouseDragExited(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragExited` property.
  `final void`
  Node.`setOnMouseDragged(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMouseDragged` property.
  `final void`
  Scene.`setOnMouseDragged(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMouseDragged` property.
  `final void`
  Node.`setOnMouseDragOver(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragOver` property.
  `final void`
  Scene.`setOnMouseDragOver(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragOver` property.
  `final void`
  Node.`setOnMouseDragReleased(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragReleased` property.
  `final void`
  Scene.`setOnMouseDragReleased(EventHandler<? super MouseDragEvent> value)`
  Sets the value of the `onMouseDragReleased` property.
  `final void`
  Node.`setOnMouseEntered(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMouseEntered` property.
  `final void`
  Scene.`setOnMouseEntered(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMouseEntered` property.
  `final void`
  Node.`setOnMouseExited(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMouseExited` property.
  `final void`
  Scene.`setOnMouseExited(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMouseExited` property.
  `final void`
  Node.`setOnMouseMoved(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMouseMoved` property.
  `final void`
  Scene.`setOnMouseMoved(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMouseMoved` property.
  `final void`
  Node.`setOnMousePressed(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMousePressed` property.
  `final void`
  Scene.`setOnMousePressed(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMousePressed` property.
  `final void`
  Node.`setOnMouseReleased(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMouseReleased` property.
  `final void`
  Scene.`setOnMouseReleased(EventHandler<? super MouseEvent> value)`
  Sets the value of the `onMouseReleased` property.
  `final void`
  Node.`setOnRotate(EventHandler<? super RotateEvent> value)`
  Sets the value of the `onRotate` property.
  `final void`
  Scene.`setOnRotate(EventHandler<? super RotateEvent> value)`
  Sets the value of the `onRotate` property.
  `final void`
  Node.`setOnRotationFinished(EventHandler<? super RotateEvent> value)`
  Sets the value of the `onRotationFinished` property.
  `final void`
  Scene.`setOnRotationFinished(EventHandler<? super RotateEvent> value)`
  Sets the value of the `onRotationFinished` property.
  `final void`
  Node.`setOnRotationStarted(EventHandler<? super RotateEvent> value)`
  Sets the value of the `onRotationStarted` property.
  `final void`
  Scene.`setOnRotationStarted(EventHandler<? super RotateEvent> value)`
  Sets the value of the `onRotationStarted` property.
  `final void`
  Node.`setOnScroll(EventHandler<? super ScrollEvent> value)`
  Sets the value of the `onScroll` property.
  `final void`
  Scene.`setOnScroll(EventHandler<? super ScrollEvent> value)`
  Sets the value of the `onScroll` property.
  `final void`
  Node.`setOnScrollFinished(EventHandler<? super ScrollEvent> value)`
  Sets the value of the `onScrollFinished` property.
  `final void`
  Scene.`setOnScrollFinished(EventHandler<? super ScrollEvent> value)`
  Sets the value of the `onScrollFinished` property.
  `final void`
  Node.`setOnScrollStarted(EventHandler<? super ScrollEvent> value)`
  Sets the value of the `onScrollStarted` property.
  `final void`
  Scene.`setOnScrollStarted(EventHandler<? super ScrollEvent> value)`
  Sets the value of the `onScrollStarted` property.
  `final void`
  Node.`setOnSwipeDown(EventHandler<? super SwipeEvent> value)`
  Sets the value of the `onSwipeDown` property.
  `final void`
  Scene.`setOnSwipeDown(EventHandler<? super SwipeEvent> value)`
  Sets the value of the `onSwipeDown` property.
  `final void`
  Node.`setOnSwipeLeft(EventHandler<? super SwipeEvent> value)`
  Sets the value of the `onSwipeLeft` property.
  `final void`
  Scene.`setOnSwipeLeft(EventHandler<? super SwipeEvent> value)`
  Sets the value of the `onSwipeLeft` property.
  `final void`
  Node.`setOnSwipeRight(EventHandler<? super SwipeEvent> value)`
  Sets the value of the `onSwipeRight` property.
  `final void`
  Scene.`setOnSwipeRight(EventHandler<? super SwipeEvent> value)`
  Sets the value of the `onSwipeRight` property.
  `final void`
  Node.`setOnSwipeUp(EventHandler<? super SwipeEvent> value)`
  Sets the value of the `onSwipeUp` property.
  `final void`
  Scene.`setOnSwipeUp(EventHandler<? super SwipeEvent> value)`
  Sets the value of the `onSwipeUp` property.
  `final void`
  Node.`setOnTouchMoved(EventHandler<? super TouchEvent> value)`
  Sets the value of the `onTouchMoved` property.
  `final void`
  Scene.`setOnTouchMoved(EventHandler<? super TouchEvent> value)`
  Sets the value of the `onTouchMoved` property.
  `final void`
  Node.`setOnTouchPressed(EventHandler<? super TouchEvent> value)`
  Sets the value of the `onTouchPressed` property.
  `final void`
  Scene.`setOnTouchPressed(EventHandler<? super TouchEvent> value)`
  Sets the value of the `onTouchPressed` property.
  `final void`
  Node.`setOnTouchReleased(EventHandler<? super TouchEvent> value)`
  Sets the value of the `onTouchReleased` property.
  `final void`
  Scene.`setOnTouchReleased(EventHandler<? super TouchEvent> value)`
  Sets the value of the `onTouchReleased` property.
  `final void`
  Node.`setOnTouchStationary(EventHandler<? super TouchEvent> value)`
  Sets the value of the `onTouchStationary` property.
  `final void`
  Scene.`setOnTouchStationary(EventHandler<? super TouchEvent> value)`
  Sets the value of the `onTouchStationary` property.
  `final void`
  Node.`setOnZoom(EventHandler<? super ZoomEvent> value)`
  Sets the value of the `onZoom` property.
  `final void`
  Scene.`setOnZoom(EventHandler<? super ZoomEvent> value)`
  Sets the value of the `onZoom` property.
  `final void`
  Node.`setOnZoomFinished(EventHandler<? super ZoomEvent> value)`
  Sets the value of the `onZoomFinished` property.
  `final void`
  Scene.`setOnZoomFinished(EventHandler<? super ZoomEvent> value)`
  Sets the value of the `onZoomFinished` property.
  `final void`
  Node.`setOnZoomStarted(EventHandler<? super ZoomEvent> value)`
  Sets the value of the `onZoomStarted` property.
  `final void`
  Scene.`setOnZoomStarted(EventHandler<? super ZoomEvent> value)`
  Sets the value of the `onZoomStarted` property.

- ## Uses of EventHandler in javafx.scene.control

  Methods in javafx.scene.control that return EventHandler
  Modifier and Type
  Method
  Description
  `final EventHandler<ActionEvent>`
  ButtonBase.`getOnAction()`
  Gets the value of the `onAction` property.
  `final EventHandler<ActionEvent>`
  ChoiceBox.`getOnAction()`
  Gets the value of the `onAction` property.
  `final EventHandler<ActionEvent>`
  ComboBoxBase.`getOnAction()`
  Gets the value of the `onAction` property.
  `final EventHandler<ActionEvent>`
  ContextMenu.`getOnAction()`
  Gets the value of the `onAction` property.
  `final EventHandler<ActionEvent>`
  MenuItem.`getOnAction()`
  Gets the value of the `onAction` property.
  `final EventHandler<ActionEvent>`
  TextField.`getOnAction()`
  Gets the value of the `onAction` property.
  `final EventHandler<Event>`
  Tab.`getOnClosed()`
  The event handler that is associated with the tab when the tab is closed.
  `final EventHandler<DialogEvent>`
  Dialog.`getOnCloseRequest()`
  Gets the value of the `onCloseRequest` property.
  `EventHandler<Event>`
  Tab.`getOnCloseRequest()`
  Gets the value of the `onCloseRequest` property.
  `final EventHandler<ListView.EditEvent<T>>`
  ListView.`getOnEditCancel()`
  Returns the `EventHandler` that will be called when the user cancels an edit.
  `final EventHandler<TableColumn.CellEditEvent<S,T>>`
  TableColumn.`getOnEditCancel()`
  Gets the value of the `onEditCancel` property.
  `final EventHandler<TreeTableColumn.CellEditEvent<S,T>>`
  TreeTableColumn.`getOnEditCancel()`
  Gets the value of the `onEditCancel` property.
  `final EventHandler<TreeView.EditEvent<T>>`
  TreeView.`getOnEditCancel()`
  Returns the `EventHandler` that will be called when the user cancels an edit.
  `final EventHandler<ListView.EditEvent<T>>`
  ListView.`getOnEditCommit()`
  Returns the `EventHandler` that will be called when the user commits an edit.
  `final EventHandler<TableColumn.CellEditEvent<S,T>>`
  TableColumn.`getOnEditCommit()`
  Gets the value of the `onEditCommit` property.
  `final EventHandler<TreeTableColumn.CellEditEvent<S,T>>`
  TreeTableColumn.`getOnEditCommit()`
  Gets the value of the `onEditCommit` property.
  `final EventHandler<TreeView.EditEvent<T>>`
  TreeView.`getOnEditCommit()`
  Returns the `EventHandler` that will be called when the user commits an edit.
  `final EventHandler<ListView.EditEvent<T>>`
  ListView.`getOnEditStart()`
  Returns the `EventHandler` that will be called when the user begins an edit.
  `final EventHandler<TableColumn.CellEditEvent<S,T>>`
  TableColumn.`getOnEditStart()`
  Gets the value of the `onEditStart` property.
  `final EventHandler<TreeTableColumn.CellEditEvent<S,T>>`
  TreeTableColumn.`getOnEditStart()`
  Gets the value of the `onEditStart` property.
  `final EventHandler<TreeView.EditEvent<T>>`
  TreeView.`getOnEditStart()`
  Returns the `EventHandler` that will be called when the user begins an edit.
  `final EventHandler<Event>`
  ChoiceBox.`getOnHidden()`
  Gets the value of the `onHidden` property.
  `final EventHandler<Event>`
  ComboBoxBase.`getOnHidden()`
  Gets the value of the `onHidden` property.
  `final EventHandler<DialogEvent>`
  Dialog.`getOnHidden()`
  Gets the value of the `onHidden` property.
  `final EventHandler<Event>`
  Menu.`getOnHidden()`
  Gets the value of the `onHidden` property.
  `final EventHandler<Event>`
  MenuButton.`getOnHidden()`
  Gets the value of the `onHidden` property.
  `final EventHandler<Event>`
  ChoiceBox.`getOnHiding()`
  Gets the value of the `onHiding` property.
  `final EventHandler<Event>`
  ComboBoxBase.`getOnHiding()`
  Gets the value of the `onHiding` property.
  `final EventHandler<DialogEvent>`
  Dialog.`getOnHiding()`
  Gets the value of the `onHiding` property.
  `final EventHandler<Event>`
  Menu.`getOnHiding()`
  Gets the value of the `onHiding` property.
  `final EventHandler<Event>`
  MenuButton.`getOnHiding()`
  Gets the value of the `onHiding` property.
  `final EventHandler<Event>`
  MenuItem.`getOnMenuValidation()`
  Gets the value of the `onMenuValidation` property.
  `final EventHandler<ScrollToEvent<Integer>>`
  ListView.`getOnScrollTo()`
  Gets the value of the `onScrollTo` property.
  `final EventHandler<ScrollToEvent<Integer>>`
  TableView.`getOnScrollTo()`
  Gets the value of the `onScrollTo` property.
  `final EventHandler<ScrollToEvent<Integer>>`
  TreeTableView.`getOnScrollTo()`
  Gets the value of the `onScrollTo` property.
  `EventHandler<ScrollToEvent<Integer>>`
  TreeView.`getOnScrollTo()`
  Gets the value of the `onScrollTo` property.
  `final EventHandler<ScrollToEvent<TableColumn<S,?>>>`
  TableView.`getOnScrollToColumn()`
  Gets the value of the `onScrollToColumn` property.
  `final EventHandler<ScrollToEvent<TreeTableColumn<S,?>>>`
  TreeTableView.`getOnScrollToColumn()`
  Gets the value of the `onScrollToColumn` property.
  `final EventHandler<Event>`
  Tab.`getOnSelectionChanged()`
  The event handler that is associated with a selection on the tab.
  `final EventHandler<Event>`
  ChoiceBox.`getOnShowing()`
  Gets the value of the `onShowing` property.
  `final EventHandler<Event>`
  ComboBoxBase.`getOnShowing()`
  Gets the value of the `onShowing` property.
  `final EventHandler<DialogEvent>`
  Dialog.`getOnShowing()`
  Gets the value of the `onShowing` property.
  `final EventHandler<Event>`
  Menu.`getOnShowing()`
  Gets the value of the `onShowing` property.
  `final EventHandler<Event>`
  MenuButton.`getOnShowing()`
  Gets the value of the `onShowing` property.
  `final EventHandler<Event>`
  ChoiceBox.`getOnShown()`
  Gets the value of the `onShown` property.
  `final EventHandler<Event>`
  ComboBoxBase.`getOnShown()`
  Gets the value of the `onShown` property.
  `final EventHandler<DialogEvent>`
  Dialog.`getOnShown()`
  Gets the value of the `onShown` property.
  `final EventHandler<Event>`
  Menu.`getOnShown()`
  Gets the value of the `onShown` property.
  `final EventHandler<Event>`
  MenuButton.`getOnShown()`
  Gets the value of the `onShown` property.
  `final EventHandler<SortEvent<TableView<S>>>`
  TableView.`getOnSort()`
  Gets the value of the `onSort` property.
  `final EventHandler<SortEvent<TreeTableView<S>>>`
  TreeTableView.`getOnSort()`
  Gets the value of the `onSort` property.
  Methods in javafx.scene.control that return types with arguments of type EventHandler
  Modifier and Type
  Method
  Description
  `final ObjectProperty<EventHandler<ActionEvent>>`
  ButtonBase.`onActionProperty()`
  The button's action, which is invoked whenever the button is fired.
  `final ObjectProperty<EventHandler<ActionEvent>>`
  ChoiceBox.`onActionProperty()`
  The ChoiceBox action, which is invoked whenever the ChoiceBox `value` property is changed.
  `final ObjectProperty<EventHandler<ActionEvent>>`
  ComboBoxBase.`onActionProperty()`
  The ComboBox action, which is invoked whenever the ComboBox `value` property is changed.
  `final ObjectProperty<EventHandler<ActionEvent>>`
  ContextMenu.`onActionProperty()`
  Callback function to be informed when an item contained within this `ContextMenu` has been activated.
  `final ObjectProperty<EventHandler<ActionEvent>>`
  MenuItem.`onActionProperty()`
  The action, which is invoked whenever the MenuItem is fired.
  `final ObjectProperty<EventHandler<ActionEvent>>`
  TextField.`onActionProperty()`
  The action handler associated with this text field, or `null` if no action handler is assigned.
  `final ObjectProperty<EventHandler<Event>>`
  Tab.`onClosedProperty()`
  The event handler that is associated with the tab when the tab is closed.
  `final ObjectProperty<EventHandler<DialogEvent>>`
  Dialog.`onCloseRequestProperty()`
  Called when there is an external request to close this `Dialog`.
  `final ObjectProperty<EventHandler<Event>>`
  Tab.`onCloseRequestProperty()`
  Called when there is an external request to close this `Tab`.
  `final ObjectProperty<EventHandler<ListView.EditEvent<T>>>`
  ListView.`onEditCancelProperty()`
  This event handler will be fired when the user cancels editing a cell.
  `final ObjectProperty<EventHandler<TableColumn.CellEditEvent<S,T>>>`
  TableColumn.`onEditCancelProperty()`
  This event handler will be fired when the user cancels editing a cell.
  `final ObjectProperty<EventHandler<TreeTableColumn.CellEditEvent<S,T>>>`
  TreeTableColumn.`onEditCancelProperty()`
  This event handler will be fired when the user cancels editing a cell.
  `final ObjectProperty<EventHandler<TreeView.EditEvent<T>>>`
  TreeView.`onEditCancelProperty()`
  This event handler will be fired when the user cancels editing a cell.
  `final ObjectProperty<EventHandler<ListView.EditEvent<T>>>`
  ListView.`onEditCommitProperty()`
  This property is used when the user performs an action that should result in their editing input being persisted.
  `final ObjectProperty<EventHandler<TableColumn.CellEditEvent<S,T>>>`
  TableColumn.`onEditCommitProperty()`
  This event handler will be fired when the user successfully commits their editing.
  `final ObjectProperty<EventHandler<TreeTableColumn.CellEditEvent<S,T>>>`
  TreeTableColumn.`onEditCommitProperty()`
  This event handler will be fired when the user successfully commits their editing.
  `final ObjectProperty<EventHandler<TreeView.EditEvent<T>>>`
  TreeView.`onEditCommitProperty()`
  This property is used when the user performs an action that should result in their editing input being persisted.
  `final ObjectProperty<EventHandler<ListView.EditEvent<T>>>`
  ListView.`onEditStartProperty()`
  This event handler will be fired when the user successfully initiates editing.
  `final ObjectProperty<EventHandler<TableColumn.CellEditEvent<S,T>>>`
  TableColumn.`onEditStartProperty()`
  This event handler will be fired when the user successfully initiates editing.
  `final ObjectProperty<EventHandler<TreeTableColumn.CellEditEvent<S,T>>>`
  TreeTableColumn.`onEditStartProperty()`
  This event handler will be fired when the user successfully initiates editing.
  `final ObjectProperty<EventHandler<TreeView.EditEvent<T>>>`
  TreeView.`onEditStartProperty()`
  This event handler will be fired when the user successfully initiates editing.
  `final ObjectProperty<EventHandler<Event>>`
  ChoiceBox.`onHiddenProperty()`
  Called just after the `ChoiceBox` popup has been hidden.
  `final ObjectProperty<EventHandler<Event>>`
  ComboBoxBase.`onHiddenProperty()`
  Called just after the `ComboBoxBase` popup/display has been hidden.
  `final ObjectProperty<EventHandler<DialogEvent>>`
  Dialog.`onHiddenProperty()`
  Called just after the Dialog has been hidden.
  `final ObjectProperty<EventHandler<Event>>`
  Menu.`onHiddenProperty()`
  Called just after the `ContextMenu` has been hidden.
  `final ObjectProperty<EventHandler<Event>>`
  MenuButton.`onHiddenProperty()`
  Called just after the `ContextMenu` has been hidden.
  `final ObjectProperty<EventHandler<Event>>`
  ChoiceBox.`onHidingProperty()`
  Called just prior to the `ChoiceBox` popup being hidden.
  `final ObjectProperty<EventHandler<Event>>`
  ComboBoxBase.`onHidingProperty()`
  Called just prior to the `ComboBox` popup/display being hidden.
  `final ObjectProperty<EventHandler<DialogEvent>>`
  Dialog.`onHidingProperty()`
  Called just prior to the Dialog being hidden.
  `final ObjectProperty<EventHandler<Event>>`
  Menu.`onHidingProperty()`
  Called just prior to the `ContextMenu` being hidden.
  `final ObjectProperty<EventHandler<Event>>`
  MenuButton.`onHidingProperty()`
  Called just prior to the `ContextMenu` being hidden.
  `final ObjectProperty<EventHandler<Event>>`
  MenuItem.`onMenuValidationProperty()`
  The event handler that is associated with invocation of an accelerator for a MenuItem.
  `final ObjectProperty<EventHandler<ScrollToEvent<TableColumn<S,?>>>>`
  TableView.`onScrollToColumnProperty()`
  Called when there's a request to scroll a column into view using `TableView.scrollToColumn(TableColumn)` or `TableView.scrollToColumnIndex(int)`
  `final ObjectProperty<EventHandler<ScrollToEvent<TreeTableColumn<S,?>>>>`
  TreeTableView.`onScrollToColumnProperty()`
  Called when there's a request to scroll a column into view using `TreeTableView.scrollToColumn(TreeTableColumn)` or `TreeTableView.scrollToColumnIndex(int)`
  `final ObjectProperty<EventHandler<ScrollToEvent<Integer>>>`
  ListView.`onScrollToProperty()`
  Called when there's a request to scroll an index into view using `ListView.scrollTo(int)` or `ListView.scrollTo(Object)`
  `final ObjectProperty<EventHandler<ScrollToEvent<Integer>>>`
  TableView.`onScrollToProperty()`
  Called when there's a request to scroll an index into view using `TableView.scrollTo(int)` or `TableView.scrollTo(Object)`
  `final ObjectProperty<EventHandler<ScrollToEvent<Integer>>>`
  TreeTableView.`onScrollToProperty()`
  Called when there's a request to scroll an index into view using `TreeTableView.scrollTo(int)`
  `ObjectProperty<EventHandler<ScrollToEvent<Integer>>>`
  TreeView.`onScrollToProperty()`
  Called when there's a request to scroll an index into view using `TreeView.scrollTo(int)`
  `final ObjectProperty<EventHandler<Event>>`
  Tab.`onSelectionChangedProperty()`
  The event handler that is associated with a selection on the tab.
  `final ObjectProperty<EventHandler<Event>>`
  ChoiceBox.`onShowingProperty()`
  Called just prior to the `ChoiceBox` popup being shown.
  `final ObjectProperty<EventHandler<Event>>`
  ComboBoxBase.`onShowingProperty()`
  Called just prior to the `ComboBoxBase` popup/display being shown.
  `final ObjectProperty<EventHandler<DialogEvent>>`
  Dialog.`onShowingProperty()`
  Called just prior to the Dialog being shown.
  `final ObjectProperty<EventHandler<Event>>`
  Menu.`onShowingProperty()`
  Called just prior to the `ContextMenu` being shown, even if the menu has no items to show.
  `final ObjectProperty<EventHandler<Event>>`
  MenuButton.`onShowingProperty()`
  Called just prior to the `ContextMenu` being shown.
  `final ObjectProperty<EventHandler<Event>>`
  ChoiceBox.`onShownProperty()`
  Called just after the `ChoiceBox` popup is shown.
  `final ObjectProperty<EventHandler<Event>>`
  ComboBoxBase.`onShownProperty()`
  Called just after the `ComboBoxBase` popup/display is shown.
  `final ObjectProperty<EventHandler<DialogEvent>>`
  Dialog.`onShownProperty()`
  Called just after the Dialog is shown.
  `final ObjectProperty<EventHandler<Event>>`
  Menu.`onShownProperty()`
  Called just after the `ContextMenu` is shown.
  `final ObjectProperty<EventHandler<Event>>`
  MenuButton.`onShownProperty()`
  Called just after the `ContextMenu` is shown.
  `final ObjectProperty<EventHandler<SortEvent<TableView<S>>>>`
  TableView.`onSortProperty()`
  Called when there's a request to sort the control.
  `final ObjectProperty<EventHandler<SortEvent<TreeTableView<S>>>>`
  TreeTableView.`onSortProperty()`
  Called when there's a request to sort the control.
  Methods in javafx.scene.control with parameters of type EventHandler
  Modifier and Type
  Method
  Description
  `final <E extends Event>
  void`
  Dialog.`addEventFilter(EventType<E> eventType, EventHandler<? super E> eventFilter)`
  `final <E extends Event>
  void`
  Tab.`addEventFilter(EventType<E> eventType, EventHandler<? super E> eventFilter)`
  `<E extends Event>
  void`
  TreeItem.`addEventFilter(EventType<E> eventType, EventHandler<? super E> eventHandler)`
  Registers an event filter for this target.
  `final <E extends Event>
  void`
  Dialog.`addEventHandler(EventType<E> eventType, EventHandler<? super E> eventHandler)`
  `final <E extends Event>
  void`
  Tab.`addEventHandler(EventType<E> eventType, EventHandler<? super E> eventHandler)`
  `<E extends Event>
  void`
  TreeItem.`addEventHandler(EventType<E> eventType, EventHandler<? super E> eventHandler)`
  Registers an event handler for this target.
  `final <E extends Event>
  void`
  Dialog.`removeEventFilter(EventType<E> eventType, EventHandler<? super E> eventFilter)`
  `final <E extends Event>
  void`
  Tab.`removeEventFilter(EventType<E> eventType, EventHandler<? super E> eventFilter)`
  `final <E extends Event>
  void`
  Dialog.`removeEventHandler(EventType<E> eventType, EventHandler<? super E> eventHandler)`
  `final <E extends Event>
  void`
  Tab.`removeEventHandler(EventType<E> eventType, EventHandler<? super E> eventHandler)`
  `final void`
  ButtonBase.`setOnAction(EventHandler<ActionEvent> value)`
  Sets the value of the `onAction` property.
  `final void`
  ChoiceBox.`setOnAction(EventHandler<ActionEvent> value)`
  Sets the value of the `onAction` property.
  `final void`
  ComboBoxBase.`setOnAction(EventHandler<ActionEvent> value)`
  Sets the value of the `onAction` property.
  `final void`
  ContextMenu.`setOnAction(EventHandler<ActionEvent> value)`
  Sets the value of the `onAction` property.
  `final void`
  MenuItem.`setOnAction(EventHandler<ActionEvent> value)`
  Sets the value of the `onAction` property.
  `final void`
  TextField.`setOnAction(EventHandler<ActionEvent> value)`
  Sets the value of the `onAction` property.
  `final void`
  Tab.`setOnClosed(EventHandler<Event> value)`
  Defines a function to be called when the tab is closed.
  `final void`
  Dialog.`setOnCloseRequest(EventHandler<DialogEvent> value)`
  Sets the value of the `onCloseRequest` property.
  `void`
  Tab.`setOnCloseRequest(EventHandler<Event> value)`
  Sets the value of the `onCloseRequest` property.
  `final void`
  ListView.`setOnEditCancel(EventHandler<ListView.EditEvent<T>> value)`
  Sets the `EventHandler` that will be called when the user cancels an edit.
  `final void`
  TableColumn.`setOnEditCancel(EventHandler<TableColumn.CellEditEvent<S,T>> value)`
  Sets the value of the `onEditCancel` property.
  `final void`
  TreeTableColumn.`setOnEditCancel(EventHandler<TreeTableColumn.CellEditEvent<S,T>> value)`
  Sets the value of the `onEditCancel` property.
  `final void`
  TreeView.`setOnEditCancel(EventHandler<TreeView.EditEvent<T>> value)`
  Sets the `EventHandler` that will be called when the user cancels an edit.
  `final void`
  ListView.`setOnEditCommit(EventHandler<ListView.EditEvent<T>> value)`
  Sets the `EventHandler` that will be called when the user has completed their editing.
  `final void`
  TableColumn.`setOnEditCommit(EventHandler<TableColumn.CellEditEvent<S,T>> value)`
  Sets the value of the `onEditCommit` property.
  `final void`
  TreeTableColumn.`setOnEditCommit(EventHandler<TreeTableColumn.CellEditEvent<S,T>> value)`
  Sets the value of the `onEditCommit` property.
  `final void`
  TreeView.`setOnEditCommit(EventHandler<TreeView.EditEvent<T>> value)`
  Sets the `EventHandler` that will be called when the user commits an edit.
  `final void`
  ListView.`setOnEditStart(EventHandler<ListView.EditEvent<T>> value)`
  Sets the `EventHandler` that will be called when the user begins an edit.
  `final void`
  TableColumn.`setOnEditStart(EventHandler<TableColumn.CellEditEvent<S,T>> value)`
  Sets the value of the `onEditStart` property.
  `final void`
  TreeTableColumn.`setOnEditStart(EventHandler<TreeTableColumn.CellEditEvent<S,T>> value)`
  Sets the value of the `onEditStart` property.
  `final void`
  TreeView.`setOnEditStart(EventHandler<TreeView.EditEvent<T>> value)`
  Sets the `EventHandler` that will be called when the user begins an edit.
  `final void`
  ChoiceBox.`setOnHidden(EventHandler<Event> value)`
  Sets the value of the `onHidden` property.
  `final void`
  ComboBoxBase.`setOnHidden(EventHandler<Event> value)`
  Sets the value of the `onHidden` property.
  `final void`
  Dialog.`setOnHidden(EventHandler<DialogEvent> value)`
  Sets the value of the `onHidden` property.
  `final void`
  Menu.`setOnHidden(EventHandler<Event> value)`
  Sets the value of the `onHidden` property.
  `final void`
  MenuButton.`setOnHidden(EventHandler<Event> value)`
  Sets the value of the `onHidden` property.
  `final void`
  ChoiceBox.`setOnHiding(EventHandler<Event> value)`
  Sets the value of the `onHiding` property.
  `final void`
  ComboBoxBase.`setOnHiding(EventHandler<Event> value)`
  Sets the value of the `onHiding` property.
  `final void`
  Dialog.`setOnHiding(EventHandler<DialogEvent> value)`
  Sets the value of the `onHiding` property.
  `final void`
  Menu.`setOnHiding(EventHandler<Event> value)`
  Sets the value of the `onHiding` property.
  `final void`
  MenuButton.`setOnHiding(EventHandler<Event> value)`
  Sets the value of the `onHiding` property.
  `final void`
  MenuItem.`setOnMenuValidation(EventHandler<Event> value)`
  Sets the value of the `onMenuValidation` property.
  `final void`
  ListView.`setOnScrollTo(EventHandler<ScrollToEvent<Integer>> value)`
  Sets the value of the `onScrollTo` property.
  `final void`
  TableView.`setOnScrollTo(EventHandler<ScrollToEvent<Integer>> value)`
  Sets the value of the `onScrollTo` property.
  `final void`
  TreeTableView.`setOnScrollTo(EventHandler<ScrollToEvent<Integer>> value)`
  Sets the value of the `onScrollTo` property.
  `void`
  TreeView.`setOnScrollTo(EventHandler<ScrollToEvent<Integer>> value)`
  Sets the value of the `onScrollTo` property.
  `final void`
  TableView.`setOnScrollToColumn(EventHandler<ScrollToEvent<TableColumn<S,?>>> value)`
  Sets the value of the `onScrollToColumn` property.
  `final void`
  TreeTableView.`setOnScrollToColumn(EventHandler<ScrollToEvent<TreeTableColumn<S,?>>> value)`
  Sets the value of the `onScrollToColumn` property.
  `final void`
  Tab.`setOnSelectionChanged(EventHandler<Event> value)`
  Defines a function to be called when a selection changed has occurred on the tab.
  `final void`
  ChoiceBox.`setOnShowing(EventHandler<Event> value)`
  Sets the value of the `onShowing` property.
  `final void`
  ComboBoxBase.`setOnShowing(EventHandler<Event> value)`
  Sets the value of the `onShowing` property.
  `final void`
  Dialog.`setOnShowing(EventHandler<DialogEvent> value)`
  Sets the value of the `onShowing` property.
  `final void`
  Menu.`setOnShowing(EventHandler<Event> value)`
  Sets the value of the `onShowing` property.
  `final void`
  MenuButton.`setOnShowing(EventHandler<Event> value)`
  Sets the value of the `onShowing` property.
  `final void`
  ChoiceBox.`setOnShown(EventHandler<Event> value)`
  Sets the value of the `onShown` property.
  `final void`
  ComboBoxBase.`setOnShown(EventHandler<Event> value)`
  Sets the value of the `onShown` property.
  `final void`
  Dialog.`setOnShown(EventHandler<DialogEvent> value)`
  Sets the value of the `onShown` property.
  `final void`
  Menu.`setOnShown(EventHandler<Event> value)`
  Sets the value of the `onShown` property.
  `final void`
  MenuButton.`setOnShown(EventHandler<Event> value)`
  Sets the value of the `onShown` property.
  `final void`
  TableView.`setOnSort(EventHandler<SortEvent<TableView<S>>> value)`
  Sets the value of the `onSort` property.
  `final void`
  TreeTableView.`setOnSort(EventHandler<SortEvent<TreeTableView<S>>> value)`
  Sets the value of the `onSort` property.

- ## Uses of EventHandler in javafx.scene.media

  Methods in javafx.scene.media that return EventHandler
  Modifier and Type
  Method
  Description
  `final EventHandler<MediaErrorEvent>`
  MediaView.`getOnError()`
  Retrieves the error event handler.
  `final EventHandler<MediaMarkerEvent>`
  MediaPlayer.`getOnMarker()`
  Retrieves the marker event handler.
  Methods in javafx.scene.media that return types with arguments of type EventHandler
  Modifier and Type
  Method
  Description
  `final ObjectProperty<EventHandler<MediaErrorEvent>>`
  MediaView.`onErrorProperty()`
  Event handler to be invoked whenever an error occurs on this `MediaView`.
  `ObjectProperty<EventHandler<MediaMarkerEvent>>`
  MediaPlayer.`onMarkerProperty()`
  Event handler invoked when the player `currentTime` reaches a media marker.
  Methods in javafx.scene.media with parameters of type EventHandler
  Modifier and Type
  Method
  Description
  `final void`
  MediaView.`setOnError(EventHandler<MediaErrorEvent> value)`
  Sets the error event handler.
  `final void`
  MediaPlayer.`setOnMarker(EventHandler<MediaMarkerEvent> onMarker)`
  Sets the marker event handler.

- ## Uses of EventHandler in javafx.scene.transform

  Methods in javafx.scene.transform that return EventHandler
  Modifier and Type
  Method
  Description
  `final EventHandler<? super TransformChangedEvent>`
  Transform.`getOnTransformChanged()`
  Gets the onTransformChanged event handler.
  Methods in javafx.scene.transform that return types with arguments of type EventHandler
  Modifier and Type
  Method
  Description
  `final ObjectProperty<EventHandler<? super TransformChangedEvent>>`
  Transform.`onTransformChangedProperty()`
  The onTransformChanged event handler is called whenever the transform changes any of its parameters.
  Methods in javafx.scene.transform with parameters of type EventHandler
  Modifier and Type
  Method
  Description
  `final <T extends Event>
  void`
  Transform.`addEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)`
  Registers an event filter for this target.
  `final <T extends Event>
  void`
  Transform.`addEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  Registers an event handler for this target.
  `final <T extends Event>
  void`
  Transform.`removeEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)`
  Unregisters a previously registered event filter from this target.
  `final <T extends Event>
  void`
  Transform.`removeEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  Unregisters a previously registered event handler from this target.
  `final void`
  Transform.`setOnTransformChanged(EventHandler<? super TransformChangedEvent> value)`
  Sets the onTransformChanged event handler which is called whenever the transform changes any of its parameters.

- ## Uses of EventHandler in javafx.scene.web

  Methods in javafx.scene.web that return EventHandler
  Modifier and Type
  Method
  Description
  `final EventHandler<WebEvent<String>>`
  WebEngine.`getOnAlert()`
  Gets the value of the `onAlert` property.
  `final EventHandler<WebErrorEvent>`
  WebEngine.`getOnError()`
  Gets the value of the `onError` property.
  `final EventHandler<WebEvent<Rectangle2D>>`
  WebEngine.`getOnResized()`
  Gets the value of the `onResized` property.
  `final EventHandler<WebEvent<String>>`
  WebEngine.`getOnStatusChanged()`
  Gets the value of the `onStatusChanged` property.
  `final EventHandler<WebEvent<Boolean>>`
  WebEngine.`getOnVisibilityChanged()`
  Gets the value of the `onVisibilityChanged` property.
  Methods in javafx.scene.web that return types with arguments of type EventHandler
  Modifier and Type
  Method
  Description
  `final ObjectProperty<EventHandler<WebEvent<String>>>`
  WebEngine.`onAlertProperty()`
  JavaScript `alert` handler property.
  `final ObjectProperty<EventHandler<WebErrorEvent>>`
  WebEngine.`onErrorProperty()`
  The event handler called when an error occurs.
  `final ObjectProperty<EventHandler<WebEvent<Rectangle2D>>>`
  WebEngine.`onResizedProperty()`
  JavaScript window resize handler property.
  `final ObjectProperty<EventHandler<WebEvent<String>>>`
  WebEngine.`onStatusChangedProperty()`
  JavaScript status handler property.
  `final ObjectProperty<EventHandler<WebEvent<Boolean>>>`
  WebEngine.`onVisibilityChangedProperty()`
  JavaScript window visibility handler property.
  Methods in javafx.scene.web with parameters of type EventHandler
  Modifier and Type
  Method
  Description
  `final void`
  WebEngine.`setOnAlert(EventHandler<WebEvent<String>> handler)`
  Sets the value of the `onAlert` property.
  `final void`
  WebEngine.`setOnError(EventHandler<WebErrorEvent> handler)`
  Sets the value of the `onError` property.
  `final void`
  WebEngine.`setOnResized(EventHandler<WebEvent<Rectangle2D>> handler)`
  Sets the value of the `onResized` property.
  `final void`
  WebEngine.`setOnStatusChanged(EventHandler<WebEvent<String>> handler)`
  Sets the value of the `onStatusChanged` property.
  `final void`
  WebEngine.`setOnVisibilityChanged(EventHandler<WebEvent<Boolean>> handler)`
  Sets the value of the `onVisibilityChanged` property.

- ## Uses of EventHandler in javafx.stage

  Methods in javafx.stage that return EventHandler
  Modifier and Type
  Method
  Description
  `final EventHandler<Event>`
  PopupWindow.`getOnAutoHide()`
  Gets the value of the `onAutoHide` property.
  `final EventHandler<WindowEvent>`
  Window.`getOnCloseRequest()`
  Gets the value of the `onCloseRequest` property.
  `final EventHandler<WindowEvent>`
  Window.`getOnHidden()`
  Gets the value of the `onHidden` property.
  `final EventHandler<WindowEvent>`
  Window.`getOnHiding()`
  Gets the value of the `onHiding` property.
  `final EventHandler<WindowEvent>`
  Window.`getOnShowing()`
  Gets the value of the `onShowing` property.
  `final EventHandler<WindowEvent>`
  Window.`getOnShown()`
  Gets the value of the `onShown` property.
  Methods in javafx.stage that return types with arguments of type EventHandler
  Modifier and Type
  Method
  Description
  `final ObjectProperty<EventHandler<Event>>`
  PopupWindow.`onAutoHideProperty()`
  Called after autoHide is run.
  `final ObjectProperty<EventHandler<WindowEvent>>`
  Window.`onCloseRequestProperty()`
  Called when there is an external request to close this `Window`.
  `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.
  Methods in javafx.stage with parameters of type EventHandler
  Modifier and Type
  Method
  Description
  `final <T extends Event>
  void`
  Window.`addEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)`
  `final <T extends Event>
  void`
  Window.`addEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  `final <T extends Event>
  void`
  Window.`removeEventFilter(EventType<T> eventType, EventHandler<? super T> eventFilter)`
  `final <T extends Event>
  void`
  Window.`removeEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  `protected final <T extends Event>
  void`
  Window.`setEventHandler(EventType<T> eventType, EventHandler<? super T> eventHandler)`
  Sets the handler to use for this event type.
  `final void`
  PopupWindow.`setOnAutoHide(EventHandler<Event> value)`
  Sets the value of the `onAutoHide` property.
  `final void`
  Window.`setOnCloseRequest(EventHandler<WindowEvent> value)`
  Sets the value of the `onCloseRequest` property.
  `final void`
  Window.`setOnHidden(EventHandler<WindowEvent> value)`
  Sets the value of the `onHidden` property.
  `final void`
  Window.`setOnHiding(EventHandler<WindowEvent> value)`
  Sets the value of the `onHiding` property.
  `final void`
  Window.`setOnShowing(EventHandler<WindowEvent> value)`
  Sets the value of the `onShowing` property.
  `final void`
  Window.`setOnShown(EventHandler<WindowEvent> value)`
  Sets the value of the `onShown` property.