Uses of Class javafx.event.Event (JavaFX 28)
Description: use: module: javafx.base, package: javafx.event, class: Event

# Uses of Class
javafx.event.Event

Packages that use Event
Package
Description
javafx.concurrent
Provides the set of classes for javafx.concurrent.
javafx.css
Provides API for making properties styleable via CSS and for supporting pseudo-class state.
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.input
Provides the set of classes for mouse and keyboard input event handling.
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.
jfx.incubator.scene.control.input
Incubates a customization mechanism for the JavaFX Controls utilizing the `InputMap`.

- ## Uses of Event in javafx.concurrent

  Subclasses of Event in javafx.concurrent
  Modifier and Type
  Class
  Description
  `class`
  `WorkerStateEvent`
  An event which occurs whenever the state changes on a Worker.
  Methods in javafx.concurrent with type parameters of type Event
  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.
  Methods in javafx.concurrent with parameters of type Event
  Modifier and Type
  Method
  Description
  `protected final void`
  Service.`fireEvent(Event event)`
  Fires the specified event.
  `final void`
  Task.`fireEvent(Event event)`
  Fires the specified event.

- ## Uses of Event in javafx.css

  Subclasses of Event in javafx.css
  Modifier and Type
  Class
  Description
  `final class`
  `TransitionEvent`
  An event that signals the creation, beginning, completion and cancellation of implicit CSS transitions.
  Constructor parameters in javafx.css with type arguments of type Event
  Modifier
  Constructor
  Description
  ``
  `TransitionEvent(EventType<? extends Event> eventType, StyleableProperty<?> property, String propertyName, Duration elapsedTime)`
  Creates a new instance of the `TransitionEvent` class.

- ## Uses of Event in javafx.event

  Classes in javafx.event with type parameters of type Event
  Modifier and Type
  Interface
  Description
  `interface`
  `EventHandler<T extends Event>`
  Handler for events of a specific class / type.
  `final class`
  `EventType<T extends Event>`
  This class represents a specific event type associated with an `Event`.
  `final class`
  `WeakEventHandler<T extends Event>`
  Used in event handler registration in place of its associated event handler.
  Subclasses of Event in javafx.event
  Modifier and Type
  Class
  Description
  `class`
  `ActionEvent`
  An `Event` representing some type of action.
  Fields in javafx.event with type parameters of type Event
  Modifier and Type
  Field
  Description
  `static final EventType<Event>`
  Event.`ANY`
  Common supertype for all event types.
  `protected EventType<? extends Event>`
  Event.`eventType`
  Type of the event.
  `static final EventType<Event>`
  EventType.`ROOT`
  The root event type.
  Methods in javafx.event with type parameters of type Event
  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.
  Methods in javafx.event that return Event
  Modifier and Type
  Method
  Description
  `Event`
  Event.`copyFor(Object newSource, EventTarget newTarget)`
  Creates and returns a copy of this event with the specified event source and target.
  `Event`
  EventDispatchChain.`dispatchEvent(Event event)`
  Dispatches the specified event through this `EventDispatchChain`.
  `Event`
  EventDispatcher.`dispatchEvent(Event event, EventDispatchChain tail)`
  Dispatches the specified event by this `EventDispatcher`.
  Methods in javafx.event that return types with arguments of type Event
  Modifier and Type
  Method
  Description
  `EventType<? extends Event>`
  Event.`getEventType()`
  Gets the event type of this event.
  Methods in javafx.event with parameters of type Event
  Modifier and Type
  Method
  Description
  `Event`
  EventDispatchChain.`dispatchEvent(Event event)`
  Dispatches the specified event through this `EventDispatchChain`.
  `Event`
  EventDispatcher.`dispatchEvent(Event event, EventDispatchChain tail)`
  Dispatches the specified event by this `EventDispatcher`.
  `static void`
  Event.`fireEvent(EventTarget eventTarget, Event event)`
  Fires the specified event.
  Constructor parameters in javafx.event with type arguments of type Event
  Modifier
  Constructor
  Description
  ``
  `Event(Object source, EventTarget target, EventType<? extends Event> eventType)`
  Construct a new `Event` with the specified event source, target and type.
  ``
  `Event(EventType<? extends Event> eventType)`
  Construct a new `Event` with the specified event type.

- ## Uses of Event in javafx.scene

  Methods in javafx.scene with type parameters of type Event
  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.
  Methods in javafx.scene with parameters of type Event
  Modifier and Type
  Method
  Description
  `final void`
  Node.`fireEvent(Event event)`
  Fires the specified event.

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

  Subclasses of Event in javafx.scene.control
  Modifier and Type
  Class
  Description
  `static class`
  `CheckBoxTreeItem.TreeModificationEvent<T>`
  A TreeModificationEvent class that works in a similar vein to the `TreeItem.TreeModificationEvent` class, in that this event will bubble up the CheckBoxTreeItem hierarchy, until the parent node is null.
  `class`
  `DialogEvent`
  Event related to dialog showing/hiding actions.
  `static class`
  `ListView.EditEvent<T>`
  An `Event` subclass used specifically in ListView for representing edit-related events.
  `class`
  `ScrollToEvent<T>`
  Event related to `ScrollPane` and virtualised controls such as `ListView`, `TableView`, `TreeView` and `TreeTableView`.
  `class`
  `SortEvent<C>`
  Event related to `TableView` and `TreeTableView` sorting.
  `static class`
  `TableColumn.CellEditEvent<S,T>`
  An event that is fired when a user performs an edit on a table cell.
  `static class`
  `TreeItem.TreeModificationEvent<T>`
  An `Event` that contains relevant information for all forms of TreeItem modifications.
  `static class`
  `TreeTableColumn.CellEditEvent<S,T>`
  An event that is fired when a user performs an edit on a table cell.
  `static class`
  `TreeTableView.EditEvent<S>`
  An `Event` subclass used specifically in TreeTableView for representing edit-related events.
  `static class`
  `TreeView.EditEvent<T>`
  An `Event` subclass used specifically in TreeView for representing edit-related events.
  Fields in javafx.scene.control with type parameters of type Event
  Modifier and Type
  Field
  Description
  `static final EventType<Event>`
  CheckBoxTreeItem.TreeModificationEvent.`ANY`
  Common supertype for all tree modification event types.
  `static final EventType<Event>`
  Tab.`CLOSED_EVENT`
  Called when a user closes this tab.
  `static final EventType<Event>`
  MenuItem.`MENU_VALIDATION_EVENT`
  Called when a accelerator for the Menuitem is invoked
  `static final EventType<Event>`
  ChoiceBox.`ON_HIDDEN`
  Called when the ChoiceBox popup has been hidden.
  `static final EventType<Event>`
  ComboBoxBase.`ON_HIDDEN`
  Called when the ComboBox popup/display has been hidden.
  `static final EventType<Event>`
  Menu.`ON_HIDDEN`
  Called when the contextMenu for this menu is hidden.
  `static final EventType<Event>`
  MenuButton.`ON_HIDDEN`
  Called when the MenuButton popup has been hidden.
  `static final EventType<Event>`
  ChoiceBox.`ON_HIDING`
  Called when the ChoiceBox popup will be hidden.
  `static final EventType<Event>`
  ComboBoxBase.`ON_HIDING`
  Called when the ComboBox popup/display will be hidden.
  `static final EventType<Event>`
  Menu.`ON_HIDING`
  Called when the contextMenu for this menu will be hidden.
  `static final EventType<Event>`
  MenuButton.`ON_HIDING`
  Called when the MenuButton popup will be hidden.
  `static final EventType<Event>`
  ChoiceBox.`ON_SHOWING`
  Called prior to the ChoiceBox showing its popup after the user has clicked or otherwise interacted with the ChoiceBox.
  `static final EventType<Event>`
  ComboBoxBase.`ON_SHOWING`
  Called prior to the ComboBox showing its popup/display after the user has clicked or otherwise interacted with the ComboBox.
  `static final EventType<Event>`
  Menu.`ON_SHOWING`
  Called when the contextMenu for this menu will be shown.
  `static final EventType<Event>`
  MenuButton.`ON_SHOWING`
  Called prior to the MenuButton showing its popup after the user has clicked or otherwise interacted with the MenuButton.
  `static final EventType<Event>`
  ChoiceBox.`ON_SHOWN`
  Called after the ChoiceBox has shown its popup.
  `static final EventType<Event>`
  ComboBoxBase.`ON_SHOWN`
  Called after the ComboBox has shown its popup/display.
  `static final EventType<Event>`
  Menu.`ON_SHOWN`
  Called when the contextMenu for this menu shows.
  `static final EventType<Event>`
  MenuButton.`ON_SHOWN`
  Called after the MenuButton has shown its popup.
  `static final EventType<Event>`
  Tab.`SELECTION_CHANGED_EVENT`
  Called when the tab becomes selected or unselected.
  `static final EventType<Event>`
  Tab.`TAB_CLOSE_REQUEST_EVENT`
  Called when there is an external request to close this `Tab`.
  Methods in javafx.scene.control with type parameters of type Event
  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)`
  Methods in javafx.scene.control that return types with arguments of type Event
  Modifier and Type
  Method
  Description
  `final EventHandler<Event>`
  Tab.`getOnClosed()`
  The event handler that is associated with the tab when the tab is closed.
  `EventHandler<Event>`
  Tab.`getOnCloseRequest()`
  Gets the value of the `onCloseRequest` property.
  `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<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<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<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<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<Event>`
  Menu.`getOnShown()`
  Gets the value of the `onShown` property.
  `final EventHandler<Event>`
  MenuButton.`getOnShown()`
  Gets the value of the `onShown` property.
  `final ObjectProperty<EventHandler<Event>>`
  Tab.`onClosedProperty()`
  The event handler that is associated with the tab when the tab is closed.
  `final ObjectProperty<EventHandler<Event>>`
  Tab.`onCloseRequestProperty()`
  Called when there is an external request to close this `Tab`.
  `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<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<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<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<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<Event>>`
  Menu.`onShownProperty()`
  Called just after the `ContextMenu` is shown.
  `final ObjectProperty<EventHandler<Event>>`
  MenuButton.`onShownProperty()`
  Called just after the `ContextMenu` is shown.
  Method parameters in javafx.scene.control with type arguments of type Event
  Modifier and Type
  Method
  Description
  `final void`
  Tab.`setOnClosed(EventHandler<Event> value)`
  Defines a function to be called when the tab is closed.
  `void`
  Tab.`setOnCloseRequest(EventHandler<Event> value)`
  Sets the value of the `onCloseRequest` property.
  `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`
  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`
  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`
  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`
  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`
  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.
  Constructor parameters in javafx.scene.control with type arguments of type Event
  Modifier
  Constructor
  Description
  ``
  `DialogEvent(Dialog<?> source, EventType<? extends Event> eventType)`
  Construct a new `Event` with the specified event source, target and type.
  ``
  `TreeModificationEvent(EventType<? extends Event> eventType, CheckBoxTreeItem<T> treeItem, boolean selectionChanged)`
  Creates a default TreeModificationEvent instance to represent the change in selection/indeterminate states for the given CheckBoxTreeItem instance.
  ``
  `TreeModificationEvent(EventType<? extends Event> eventType, TreeItem<T> treeItem)`
  Constructs a basic TreeModificationEvent - this is useful in situations where the tree item has not received a new value, has not changed between expanded/collapsed states, and whose children has not changed.
  ``
  `TreeModificationEvent(EventType<? extends Event> eventType, TreeItem<T> treeItem, boolean expanded)`
  Constructs a TreeModificationEvent for when the TreeItem has had its `TreeItem.expandedProperty()` changed.
  ``
  `TreeModificationEvent(EventType<? extends Event> eventType, TreeItem<T> treeItem, List<? extends TreeItem<T>> added, List<? extends TreeItem<T>> removed)`
  Constructs a TreeModificationEvent for when the TreeItem has had its children list changed.
  ``
  `TreeModificationEvent(EventType<? extends Event> eventType, TreeItem<T> treeItem, T newValue)`
  Constructs a TreeModificationEvent for when the TreeItem has had its `TreeItem.valueProperty()` changed.

- ## Uses of Event in javafx.scene.input

  Subclasses of Event in javafx.scene.input
  Modifier and Type
  Class
  Description
  `class`
  `ContextMenuEvent`
  When the user requests a context menu, this event occurs.
  `final class`
  `DragEvent`
  Drag events replace mouse events during drag-and-drop gesture.
  `class`
  `GestureEvent`
  An event indicating gesture input.
  `class`
  `InputEvent`
  An event indicating a user input.
  `final class`
  `InputMethodEvent`
  An event which indicates that the underlying input method notifies its text change in a `Node`.
  `final class`
  `KeyEvent`
  An event which indicates that a keystroke occurred in a `Node`.
  `final class`
  `MouseDragEvent`
  Mouse drag events are delivered to potential gesture targets during full press-drag-release gestures.
  `class`
  `MouseEvent`
  When a mouse event occurs, the top-most node under cursor is picked and the event is delivered to it through capturing and bubbling phases described at `EventDispatcher`.
  `final class`
  `RotateEvent`
  Rotate event indicates that user performed rotating gesture such as dragging two fingers around each other on track pad, touch screen or other similar device.
  `final class`
  `ScrollEvent`
  Scroll event indicates that user performed scrolling by mouse wheel, track pad, touch screen or other similar device.
  `final class`
  `SwipeEvent`
  Swipe event indicates that user performed a swipe gesture such as dragging a finger in one direction on touch screen.
  `final class`
  `TouchEvent`
  Touch event indicates a touch screen action.
  `final class`
  `ZoomEvent`
  Zoom event indicates that user performed zooming gesture such as dragging two fingers apart on track pad, touch screen or other similar device.

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

  Subclasses of Event in javafx.scene.media
  Modifier and Type
  Class
  Description
  `class`
  `MediaErrorEvent`
  An `Event` representing the occurrence of an error in handling media.
  `class`
  `MediaMarkerEvent`
  An `ActionEvent` representing a media marker.

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

  Subclasses of Event in javafx.scene.transform
  Modifier and Type
  Class
  Description
  `final class`
  `TransformChangedEvent`
  This event is fired on a transform when any of its properties changes.
  Methods in javafx.scene.transform with type parameters of type Event
  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.

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

  Subclasses of Event in javafx.scene.web
  Modifier and Type
  Class
  Description
  `final class`
  `WebErrorEvent`
  An event indicating a `WebEngine` error.
  `final class`
  `WebEvent<T>`
  `WebEvent` instances are passed into `EventHandler`s registered with a `WebEngine` by JavaScript running on a Web page.

- ## Uses of Event in javafx.stage

  Subclasses of Event in javafx.stage
  Modifier and Type
  Class
  Description
  `class`
  `WindowEvent`
  Event related to window showing/hiding actions.
  Methods in javafx.stage with type parameters of type Event
  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.
  Methods in javafx.stage that return types with arguments of type Event
  Modifier and Type
  Method
  Description
  `final EventHandler<Event>`
  PopupWindow.`getOnAutoHide()`
  Gets the value of the `onAutoHide` property.
  `final ObjectProperty<EventHandler<Event>>`
  PopupWindow.`onAutoHideProperty()`
  Called after autoHide is run.
  Methods in javafx.stage with parameters of type Event
  Modifier and Type
  Method
  Description
  `final void`
  Window.`fireEvent(Event event)`
  Fires the specified event.
  Method parameters in javafx.stage with type arguments of type Event
  Modifier and Type
  Method
  Description
  `final void`
  PopupWindow.`setOnAutoHide(EventHandler<Event> value)`
  Sets the value of the `onAutoHide` property.
  Constructor parameters in javafx.stage with type arguments of type Event
  Modifier
  Constructor
  Description
  ``
  `WindowEvent(Window source, EventType<? extends Event> eventType)`
  Construct a new `Event` with the specified event source, target and type.

- ## Uses of Event in jfx.incubator.scene.control.input

  Methods in jfx.incubator.scene.control.input with type parameters of type Event
  Modifier and Type
  Method
  Description
  `<T extends Event>
  void`
  InputMap.`addHandler(EventType<T> type, EventHandler<T> handler)`
  Adds an event handler for the specified event type.
  `<T extends Event>
  void`
  InputMap.`removeHandler(EventType<T> type, EventHandler<T> handler)`
  Removes the specified handler.