## Uses of Interface
javafx.event.EventTarget

- Packages that use EventTarget
  Package | Description
  --- | ---
  javafx.concurrent | Provides the set of classes for javafx.task.
  javafx.embed.swing | Provides the set of classes to use JavaFX inside Swing applications.
  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.canvas | Provides the set of classes for canvas, an immediate mode style of rendering API.
  javafx.scene.chart | The JavaFX User Interface provides a set of chart components that are a very convenient way for data visualization.
  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.control.cell | The `javafx.scene.control.cell` package is where all cell-related classes are located, other than the core classes such as `Cell`, `IndexedCell`, `ListCell`, `TreeCell`, and `TableCell`.
  javafx.scene.control.skin | The javafx.scene.control.skin package is where the skin classes, typically one for each UI control, are located
  javafx.scene.image | Provides the set of classes for loading and displaying images.
  javafx.scene.input | Provides the set of classes for mouse and keyboard input event handling.
  javafx.scene.layout | Provides classes to support user interface layout.
  javafx.scene.media | Provides the set of classes for integrating audio and video into Java FX Applications.
  javafx.scene.shape | Provides the set of 2D classes for defining and performing operations on objects related to two-dimensional geometry.
  javafx.scene.text | Provides the set of classes for fonts and renderable Text Node.
  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 EventTarget in javafx.concurrent

    Classes in javafx.concurrent that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ScheduledService<V>` | The ScheduledService is a `Service` which will automatically restart itself after a successful execution, and under some conditions will restart even in case of failure.
    `class` | `Service<V>` | A Service is a non-visual component encapsulating the information required to perform some work on one or more background threads.
    `class` | `Task<V>` | A fully observable implementation of a `FutureTask`.

  - ### Uses of EventTarget in javafx.embed.swing

    Classes in javafx.embed.swing that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `SwingNode` | This class is used to embed a Swing content into a JavaFX application.

  - ### Uses of EventTarget in javafx.event

    Fields in javafx.event declared as EventTarget
    Modifier and Type | Field | Description
    --- | --- | ---
    `static EventTarget` | Event.`NULL_SOURCE_TARGET` | The constant which represents an unknown event source / target.
    `protected EventTarget` | Event.`target` | Event target that defines the path through which the event will travel when posted.

    Methods in javafx.event that return EventTarget
    Modifier and Type | Method | Description
    --- | --- | ---
    `EventTarget` | Event.`getTarget()` | Returns the event target of this event.

    Methods in javafx.event with parameters of type EventTarget
    Modifier and Type | Method | Description
    --- | --- | ---
    `ActionEvent` | ActionEvent.`copyFor​(Object newSource, EventTarget newTarget)` |
    `Event` | Event.`copyFor​(Object newSource, EventTarget newTarget)` | Creates and returns a copy of this event with the specified event source and target.
    `static void` | Event.`fireEvent​(EventTarget eventTarget, Event event)` | Fires the specified event.

    Constructors in javafx.event with parameters of type EventTarget
    Constructor | Description
    --- | ---
    `ActionEvent​(Object source, EventTarget target)` | Construct a new `ActionEvent` with the specified event source and target.
    `Event​(Object source, EventTarget target, EventType<? extends Event> eventType)` | Construct a new `Event` with the specified event source, target and type.

  - ### Uses of EventTarget in javafx.scene

    Classes in javafx.scene that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AmbientLight` | Defines an ambient light source object.
    `class` | `Camera` | Base class for a camera used to render a scene.
    `class` | `Group` | A `Group` node contains an ObservableList of children that are rendered in order whenever this node is rendered.
    `class` | `LightBase` | The `LightBase` class provides definitions of common properties for objects that represent a form of Light source.
    `class` | `Node` | Base class for scene graph nodes.
    `class` | `ParallelCamera` | Specifies a parallel camera for rendering a scene without perspective correction.
    `class` | `Parent` | The base class for all nodes that have children in the scene graph.
    `class` | `PerspectiveCamera` | Specifies a perspective camera for rendering a scene.
    `class` | `PointLight` | Defines a point light source object.
    `class` | `Scene` | The JavaFX `Scene` class is the container for all content in a scene graph.
    `class` | `SubScene` | The `SubScene` class is the container for content in a scene graph.

  - ### Uses of EventTarget in javafx.scene.canvas

    Classes in javafx.scene.canvas that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Canvas` | `Canvas` is an image that can be drawn on using a set of graphics commands provided by a `GraphicsContext`.

  - ### Uses of EventTarget in javafx.scene.chart

    Classes in javafx.scene.chart that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AreaChart<X,​Y>` | AreaChart - Plots the area between the line that connects the data points and the 0 line on the Y axis.
    `class` | `Axis<T>` | Base class for all axes in JavaFX that represents an axis drawn on a chart area.
    `class` | `BarChart<X,​Y>` | A chart that plots bars indicating data values for a category.
    `class` | `BubbleChart<X,​Y>` | Chart type that plots bubbles for the data points in a series.
    `class` | `CategoryAxis` | A axis implementation that will works on string categories where each value as a unique category(tick mark) along the axis.
    `class` | `Chart` | Base class for all charts.
    `class` | `LineChart<X,​Y>` | Line Chart plots a line connecting the data points in a series.
    `class` | `NumberAxis` | An axis class that plots a range of numbers with major tick marks every tickUnit.
    `class` | `PieChart` | Displays a PieChart.
    `class` | `ScatterChart<X,​Y>` | Chart type that plots symbols for the data points in a series.
    `class` | `StackedAreaChart<X,​Y>` | StackedAreaChart is a variation of `AreaChart` that displays trends of the contribution of each value.
    `class` | `StackedBarChart<X,​Y>` | StackedBarChart is a variation of `BarChart` that plots bars indicating data values for a category.
    `class` | `ValueAxis<T extends Number>` | An axis whose data is defined as Numbers.
    `class` | `XYChart<X,​Y>` | Chart base class for all 2 axis charts.

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

    Classes in javafx.scene.control that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Accordion` | An accordion is a group of `TitlePanes`.
    `class` | `Alert` | The Alert class subclasses the `Dialog` class, and provides support for a number of pre-built dialog types that can be easily shown to users to prompt for a response.
    `class` | `Button` | A simple button control.
    `class` | `ButtonBar` | A ButtonBar is essentially a `HBox`, with the additional functionality for operating system specific button placement.
    `class` | `ButtonBase` | Base class for button-like UI Controls, including Hyperlinks, Buttons, ToggleButtons, CheckBoxes, and RadioButtons.
    `class` | `Cell<T>` | The Cell API is used for virtualized controls such as `ListView`, `TreeView`, and `TableView`.
    `class` | `CheckBox` | A tri-state selection Control typically skinned as a box with a checkmark or tick mark when checked.
    `class` | `CheckBoxTreeItem<T>` | TreeItem subclass that adds support for being in selected, unselected, and indeterminate states.
    `class` | `CheckMenuItem` | A `MenuItem` that can be toggled between selected and unselected states.
    `class` | `ChoiceBox<T>` | The ChoiceBox is used for presenting the user with a relatively small set of predefined choices from which they may choose.
    `class` | `ChoiceDialog<T>` | A dialog that shows a list of choices to the user, from which they can pick one item at most.
    `class` | `ColorPicker` | ColorPicker control allows the user to select a color from either a standard palette of colors with a simple one click selection OR define their own custom color.
    `class` | `ComboBox<T>` | An implementation of the `ComboBoxBase` abstract class for the most common form of ComboBox, where a popup list is shown to users providing them with a choice that they may select from.
    `class` | `ComboBoxBase<T>` | Abstract base class for ComboBox-like controls.
    `class` | `ContextMenu` | A popup control containing an ObservableList of menu items.
    `class` | `Control` | Base class for all user interface controls.
    `class` | `CustomMenuItem` | A `MenuItem` that allows for arbitrary nodes to be embedded within it, by assigning a `Node` to the `content` property.
    `class` | `DateCell` | DateCell is used by `DatePicker` to render the individual grid cells in the calendar month.
    `class` | `DatePicker` | The DatePicker control allows the user to enter a date as text or to select a date from a calendar popup.
    `class` | `Dialog<R>` | A Dialog in JavaFX wraps a `DialogPane` and provides the necessary API to present it to end users.
    `class` | `DialogPane` | DialogPane should be considered to be the root node displayed within a `Dialog` instance.
    `class` | `Hyperlink` | An HTML like label which can be a graphic and/or text which responds to rollovers and clicks.
    `class` | `IndexedCell<T>` | An implementation of `Cell` which contains an index property which maps into the data model underlying the visualization.
    `class` | `Label` | Label is a non-editable text control.
    `class` | `Labeled` | A Labeled `Control` is one which has as part of its user interface a textual content associated with it.
    `class` | `ListCell<T>` | The `Cell` type used within `ListView` instances.
    `class` | `ListView<T>` | A ListView displays a horizontal or vertical list of items from which the user may select, or with which the user may interact.
    `class` | `Menu` | A popup menu of actionable items which is displayed to the user only upon request.
    `class` | `MenuBar` | A MenuBar control traditionally is placed at the very top of the user interface, and embedded within it are `Menus`.
    `class` | `MenuButton` | MenuButton is a button which, when clicked or pressed, will show a `ContextMenu`.
    `class` | `MenuItem` | MenuItem is intended to be used in conjunction with `Menu` to provide options to users.
    `class` | `Pagination` | A Pagination control is used for navigation between pages of a single content, which has been divided into smaller parts.
    `class` | `PasswordField` | Text field that masks entered characters.
    `class` | `PopupControl` | An extension of PopupWindow that allows for CSS styling.
    `protected class` | `PopupControl.CSSBridge` | The link between the popup window and the scenegraph.
    `class` | `ProgressBar` | A specialization of the ProgressIndicator which is represented as a horizontal bar.
    `class` | `ProgressIndicator` | A circular control which is used for indicating progress, either infinite (aka indeterminate) or finite.
    `class` | `RadioButton` | RadioButtons create a series of items where only one item can be selected.
    `class` | `RadioMenuItem` | A RadioMenuItem is a `MenuItem` that can be toggled (it uses the `Toggle` mixin).
    `class` | `ScrollBar` | Either a horizontal or vertical bar with increment and decrement buttons and a "thumb" with which the user can interact.
    `class` | `ScrollPane` | A Control that provides a scrolled, clipped viewport of its contents.
    `class` | `Separator` | A horizontal or vertical separator line.
    `class` | `SeparatorMenuItem` | A `MenuItem` that as the name suggests allows for a horizontal Separator to be embedded within it, by assigning a `Separator` to the `content` property of the `CustomMenuItem` This is provided for convenience as groups of `menuitems` can be separated by a separator.
    `class` | `Slider` | The Slider Control is used to display a continuous or discrete range of valid numeric choices and allows the user to interact with the control.
    `class` | `Spinner<T>` | A single line text field that lets the user select a number or an object value from an ordered sequence.
    `class` | `SplitMenuButton` | The SplitMenuButton, like the `MenuButton` is closely associated with the concept of selecting a `MenuItem` from a menu.
    `class` | `SplitPane` | A control that has two or more sides, each separated by a divider, which can be dragged by the user to give more space to one of the sides, resulting in the other side shrinking by an equal amount.
    `class` | `Tab` | Tabs are placed within a `TabPane`, where each tab represents a single 'page'.
    `class` | `TableCell<S,​T>` | Represents a single row/column intersection in a `TableView`.
    `class` | `TableColumn<S,​T>` | A `TableView` is made up of a number of TableColumn instances.
    `class` | `TableColumnBase<S,​T>` | Table-like controls (such as `TableView` and `TreeTableView`) are made up of zero or more instances of a concrete TableColumnBase subclass (`TableColumn` and `TreeTableColumn`, respectively).
    `class` | `TableRow<T>` | TableRow is an `IndexedCell`, but rarely needs to be used by developers creating TableView instances.
    `class` | `TableView<S>` | The TableView control is designed to visualize an unlimited number of rows of data, broken out into columns.
    `class` | `TabPane` | A control that allows switching between a group of `Tabs`.
    `class` | `TextArea` | Text input component that allows a user to enter multiple lines of plain text.
    `class` | `TextField` | Text input component that allows a user to enter a single line of unformatted text.
    `class` | `TextInputControl` | Abstract base class for text input controls.
    `class` | `TextInputDialog` | A dialog that shows a text input control to the user.
    `class` | `TitledPane` | A TitledPane is a panel with a title that can be opened and closed.
    `class` | `ToggleButton` | A `ToggleButton` is a specialized control which has the ability to be selected.
    `class` | `ToolBar` | A ToolBar is a control which displays items horizontally or vertically.
    `class` | `Tooltip` | Tooltips are common UI elements which are typically used for showing additional information about a Node in the scenegraph when the Node is hovered over by the mouse.
    `class` | `TreeCell<T>` | The `Cell` type used with the `TreeView` control.
    `class` | `TreeItem<T>` | The model for a single node supplying a hierarchy of values to a control such as `TreeView`.
    `class` | `TreeTableCell<S,​T>` | Represents a single row/column intersection in a `TreeTableView`.
    `class` | `TreeTableColumn<S,​T>` | A `TreeTableView` is made up of a number of TreeTableColumn instances.
    `class` | `TreeTableRow<T>` | TreeTableRow is an `IndexedCell`, but rarely needs to be used by developers creating TreeTableView instances.
    `class` | `TreeTableView<S>` | The TreeTableView control is designed to visualize an unlimited number of rows of data, broken out into columns.
    `class` | `TreeView<T>` | The TreeView control provides a view on to a tree root (of type `TreeItem`).

    Methods in javafx.scene.control with parameters of type EventTarget
    Modifier and Type | Method | Description
    --- | --- | ---
    `DialogEvent` | DialogEvent.`copyFor​(Object newSource, EventTarget newTarget)` |
    `DialogEvent` | DialogEvent.`copyFor​(Object newSource, EventTarget newTarget, EventType<DialogEvent> type)` | Creates a copy of the given event with the given fields substituted.

    Constructors in javafx.scene.control with parameters of type EventTarget
    Constructor | Description
    --- | ---
    `ScrollToEvent​(Object source, EventTarget target, EventType<ScrollToEvent<T>> type, T scrollTarget)` | Construct a new `Event` with the specified event source, target and type.
    `SortEvent​(C source, EventTarget target)` |

  - ### Uses of EventTarget in javafx.scene.control.cell

    Classes in javafx.scene.control.cell that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `CheckBoxListCell<T>` | A class containing a `ListCell` implementation that draws a `CheckBox` node inside the cell, optionally with a label to indicate what the checkbox represents.
    `class` | `CheckBoxTableCell<S,​T>` | A class containing a `TableCell` implementation that draws a `CheckBox` node inside the cell, optionally with a label to indicate what the checkbox represents.
    `class` | `CheckBoxTreeCell<T>` | A class containing a `TreeCell` implementation that draws a `CheckBox` node inside the cell, along with support for common interactions (discussed in more depth shortly).
    `class` | `CheckBoxTreeTableCell<S,​T>` | A class containing a `TreeTableCell` implementation that draws a `CheckBox` node inside the cell, optionally with a label to indicate what the checkbox represents.
    `class` | `ChoiceBoxListCell<T>` | A class containing a `ListCell` implementation that draws a `ChoiceBox` node inside the cell.
    `class` | `ChoiceBoxTableCell<S,​T>` | A class containing a `TableCell` implementation that draws a `ChoiceBox` node inside the cell.
    `class` | `ChoiceBoxTreeCell<T>` | A class containing a `ListCell` implementation that draws a `ChoiceBox` node inside the cell.
    `class` | `ChoiceBoxTreeTableCell<S,​T>` | A class containing a `TreeTableCell` implementation that draws a `ChoiceBox` node inside the cell.
    `class` | `ComboBoxListCell<T>` | A class containing a `ListCell` implementation that draws a `ComboBox` node inside the cell.
    `class` | `ComboBoxTableCell<S,​T>` | A class containing a `TableCell` implementation that draws a `ComboBox` node inside the cell.
    `class` | `ComboBoxTreeCell<T>` | A class containing a `TreeCell` implementation that draws a `ComboBox` node inside the cell.
    `class` | `ComboBoxTreeTableCell<S,​T>` | A class containing a `TreeTableCell` implementation that draws a `ComboBox` node inside the cell.
    `class` | `ProgressBarTableCell<S>` | A class containing a `TableCell` implementation that draws a `ProgressBar` node inside the cell.
    `class` | `ProgressBarTreeTableCell<S>` | A class containing a `TreeTableCell` implementation that draws a `ProgressBar` node inside the cell.
    `class` | `TextFieldListCell<T>` | A class containing a `ListCell` implementation that draws a `TextField` node inside the cell.
    `class` | `TextFieldTableCell<S,​T>` | A class containing a `TableCell` implementation that draws a `TextField` node inside the cell.
    `class` | `TextFieldTreeCell<T>` | A class containing a `TreeCell` implementation that draws a `TextField` node inside the cell.
    `class` | `TextFieldTreeTableCell<S,​T>` | A class containing a `TableCell` implementation that draws a `TextField` node inside the cell.

  - ### Uses of EventTarget in javafx.scene.control.skin

    Classes in javafx.scene.control.skin that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `NestedTableColumnHeader` | This class is used to construct the header of a TableView.
    `class` | `TableColumnHeader` | Region responsible for painting a single column header.
    `class` | `TableHeaderRow` | Region responsible for painting the entire row of column headers.
    `class` | `VirtualFlow<T extends IndexedCell>` | Implementation of a virtualized container using a cell based mechanism.

  - ### Uses of EventTarget in javafx.scene.image

    Classes in javafx.scene.image that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ImageView` | The `ImageView` is a `Node` used for painting images loaded with `Image` class.

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

    Methods in javafx.scene.input that return EventTarget
    Modifier and Type | Method | Description
    --- | --- | ---
    `EventTarget` | TouchPoint.`getGrabbed()` | Gets event target which has grabbed this touch point.
    `EventTarget` | TouchPoint.`getTarget()` | Gets event target on which the touch event carrying this touch point is fired.

    Methods in javafx.scene.input with parameters of type EventTarget
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | TouchPoint.`belongsTo​(EventTarget target)` | Distinguishes between touch points targeted to the given node or some of its children from touch points targeted somewhere else.
    `ContextMenuEvent` | ContextMenuEvent.`copyFor​(Object newSource, EventTarget newTarget)` |
    `DragEvent` | DragEvent.`copyFor​(Object newSource, EventTarget newTarget)` |
    `DragEvent` | DragEvent.`copyFor​(Object source, EventTarget target, Object gestureSource, Object gestureTarget, EventType<DragEvent> eventType)` | Creates a copy of the given drag event with the given fields substituted.
    `DragEvent` | DragEvent.`copyFor​(Object source, EventTarget target, EventType<DragEvent> type)` | Creates a copy of the given drag event with the given fields substituted.
    `GestureEvent` | GestureEvent.`copyFor​(Object newSource, EventTarget newTarget)` | Creates and returns a copy of this event with the specified event source and target.
    `InputMethodEvent` | InputMethodEvent.`copyFor​(Object newSource, EventTarget newTarget)` |
    `KeyEvent` | KeyEvent.`copyFor​(Object newSource, EventTarget newTarget)` |
    `KeyEvent` | KeyEvent.`copyFor​(Object source, EventTarget target, EventType<KeyEvent> type)` | Creates a copy of the given event with the given fields substituted.
    `MouseDragEvent` | MouseDragEvent.`copyFor​(Object newSource, EventTarget newTarget)` |
    `MouseDragEvent` | MouseDragEvent.`copyFor​(Object newSource, EventTarget newTarget, EventType<? extends MouseEvent> type)` |
    `MouseEvent` | MouseEvent.`copyFor​(Object newSource, EventTarget newTarget)` | Copies this event for a different source and target.
    `MouseEvent` | MouseEvent.`copyFor​(Object newSource, EventTarget newTarget, EventType<? extends MouseEvent> eventType)` | Creates a copy of the given event with the given fields substituted.
    `RotateEvent` | RotateEvent.`copyFor​(Object newSource, EventTarget newTarget)` |
    `RotateEvent` | RotateEvent.`copyFor​(Object newSource, EventTarget newTarget, EventType<RotateEvent> type)` | Creates a copy of the given event with the given fields substituted.
    `ScrollEvent` | ScrollEvent.`copyFor​(Object newSource, EventTarget newTarget)` |
    `ScrollEvent` | ScrollEvent.`copyFor​(Object newSource, EventTarget newTarget, EventType<ScrollEvent> type)` | Creates a copy of the given event with the given fields substituted.
    `SwipeEvent` | SwipeEvent.`copyFor​(Object newSource, EventTarget newTarget)` |
    `SwipeEvent` | SwipeEvent.`copyFor​(Object newSource, EventTarget newTarget, EventType<SwipeEvent> type)` | Creates a copy of the given event with the given fields substituted.
    `TouchEvent` | TouchEvent.`copyFor​(Object newSource, EventTarget newTarget)` | Creates and returns a copy of this event with the specified event source and target.
    `TouchEvent` | TouchEvent.`copyFor​(Object newSource, EventTarget newTarget, EventType<TouchEvent> type)` | Creates a copy of the given event with the given fields substituted.
    `ZoomEvent` | ZoomEvent.`copyFor​(Object newSource, EventTarget newTarget)` |
    `ZoomEvent` | ZoomEvent.`copyFor​(Object newSource, EventTarget newTarget, EventType<ZoomEvent> type)` | Creates a copy of the given event with the given fields substituted.
    `static MouseDragEvent` | MouseEvent.`copyForMouseDragEvent​(MouseEvent e, Object source, EventTarget target, EventType<MouseDragEvent> type, Object gestureSource, PickResult pickResult)` | Creates a copy of this mouse event of MouseDragEvent type
    `void` | TouchPoint.`grab​(EventTarget target)` | Grabs this touch point by the given target.

    Constructors in javafx.scene.input with parameters of type EventTarget
    Constructor | Description
    --- | ---
    `ContextMenuEvent​(Object source, EventTarget target, EventType<ContextMenuEvent> eventType, double x, double y, double screenX, double screenY, boolean keyboardTrigger, PickResult pickResult)` | Constructs new ContextMenu event.
    `DragEvent​(Object source, EventTarget target, EventType<DragEvent> eventType, Dragboard dragboard, double x, double y, double screenX, double screenY, TransferMode transferMode, Object gestureSource, Object gestureTarget, PickResult pickResult)` | Constructs new DragEvent event.
    `GestureEvent​(Object source, EventTarget target, EventType<? extends GestureEvent> eventType)` | Deprecated. Do not use this constructor.
    `GestureEvent​(Object source, EventTarget target, EventType<? extends GestureEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, PickResult pickResult)` | Constructs new GestureEvent event.
    `InputEvent​(Object source, EventTarget target, EventType<? extends InputEvent> eventType)` | Creates new instance of InputEvent.
    `InputMethodEvent​(Object source, EventTarget target, EventType<InputMethodEvent> eventType, List<InputMethodTextRun> composed, String committed, int caretPosition)` | Constructs new InputMethodEvent event.
    `KeyEvent​(Object source, EventTarget target, EventType<KeyEvent> eventType, String character, String text, KeyCode code, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown)` | Constructs a new `KeyEvent` event from the specified parameters.
    `MouseDragEvent​(Object source, EventTarget target, EventType<MouseDragEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean backButtonDown, boolean forwardButtonDown, boolean synthesized, boolean popupTrigger, PickResult pickResult, Object gestureSource)` | Constructs new MouseDragEvent event.
    `MouseDragEvent​(Object source, EventTarget target, EventType<MouseDragEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, PickResult pickResult, Object gestureSource)` | Constructs new MouseDragEvent event.
    `MouseEvent​(Object source, EventTarget target, EventType<? extends MouseEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean backButtonDown, boolean forwardButtonDown, boolean synthesized, boolean popupTrigger, boolean stillSincePress, PickResult pickResult)` | Constructs new MouseEvent event.
    `MouseEvent​(Object source, EventTarget target, EventType<? extends MouseEvent> eventType, double x, double y, double screenX, double screenY, MouseButton button, int clickCount, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean primaryButtonDown, boolean middleButtonDown, boolean secondaryButtonDown, boolean synthesized, boolean popupTrigger, boolean stillSincePress, PickResult pickResult)` | Constructs new MouseEvent event.
    `PickResult​(EventTarget target, double sceneX, double sceneY)` | Creates a pick result for a 2D case where no additional information is needed.
    `RotateEvent​(Object source, EventTarget target, EventType<RotateEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, double angle, double totalAngle, PickResult pickResult)` | Constructs new RotateEvent event.
    `ScrollEvent​(Object source, EventTarget target, EventType<ScrollEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, double deltaX, double deltaY, double totalDeltaX, double totalDeltaY, ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits, double textDeltaX, ScrollEvent.VerticalTextScrollUnits textDeltaYUnits, double textDeltaY, int touchCount, PickResult pickResult)` | Constructs new ScrollEvent event.
    `SwipeEvent​(Object source, EventTarget target, EventType<SwipeEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, int touchCount, PickResult pickResult)` | Constructs new SwipeEvent event.
    `TouchEvent​(Object source, EventTarget target, EventType<TouchEvent> eventType, TouchPoint touchPoint, List<TouchPoint> touchPoints, int eventSetId, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown)` | Constructs new TouchEvent event.
    `TouchPoint​(int id, TouchPoint.State state, double x, double y, double screenX, double screenY, EventTarget target, PickResult pickResult)` | Creates new instance of TouchPoint.
    `ZoomEvent​(Object source, EventTarget target, EventType<ZoomEvent> eventType, double x, double y, double screenX, double screenY, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown, boolean direct, boolean inertia, double zoomFactor, double totalZoomFactor, PickResult pickResult)` | Constructs new ZoomEvent event.

  - ### Uses of EventTarget in javafx.scene.layout

    Classes in javafx.scene.layout that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AnchorPane` | AnchorPane allows the edges of child nodes to be anchored to an offset from the anchor pane's edges.
    `class` | `BorderPane` | BorderPane lays out children in top, left, right, bottom, and center positions.
    `class` | `FlowPane` | FlowPane lays out its children in a flow that wraps at the flowpane's boundary.
    `class` | `GridPane` | GridPane lays out its children within a flexible grid of rows and columns.
    `class` | `HBox` | HBox lays out its children in a single horizontal row.
    `class` | `Pane` | Base class for layout panes which need to expose the children list as public so that users of the subclass can freely add/remove children.
    `class` | `Region` | Region is the base class for all JavaFX Node-based UI Controls, and all layout containers.
    `class` | `StackPane` | StackPane lays out its children in a back-to-front stack.
    `class` | `TilePane` | TilePane lays out its children in a grid of uniformly sized "tiles".
    `class` | `VBox` | VBox lays out its children in a single vertical column.

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

    Classes in javafx.scene.media that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `MediaView` | A `Node` that provides a view of `Media` being played by a `MediaPlayer`.

    Methods in javafx.scene.media with parameters of type EventTarget
    Modifier and Type | Method | Description
    --- | --- | ---
    `MediaErrorEvent` | MediaErrorEvent.`copyFor​(Object newSource, EventTarget newTarget)` |

  - ### Uses of EventTarget in javafx.scene.shape

    Classes in javafx.scene.shape that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Arc` | The `Arc` class represents a 2D arc object, defined by a center point, start angle (in degrees), angular extent (length of the arc in degrees), and an arc type (`ArcType.OPEN`, `ArcType.CHORD`, or `ArcType.ROUND`).
    `class` | `Box` | The `Box` class defines a 3 dimensional box with the specified size.
    `class` | `Circle` | The `Circle` class creates a new circle with the specified radius and center location measured in pixels.
    `class` | `CubicCurve` | The `CubiCurve` class defines a cubic Bézier parametric curve segment in (x,y) coordinate space.
    `class` | `Cylinder` | The `Cylinder` class defines a 3 dimensional cylinder with the specified size.
    `class` | `Ellipse` | The `Ellipse` class creates a new ellipse with the specified size and location in pixels
    `class` | `Line` | This Line represents a line segment in `(x,y)` coordinate space.
    `class` | `MeshView` | The `MeshView` class defines a surface with the specified 3D mesh data.
    `class` | `Path` | The `Path` class represents a simple shape and provides facilities required for basic construction and management of a geometric path.
    `class` | `Polygon` | Creates a polygon, defined by an array of x,y coordinates.
    `class` | `Polyline` | Creates a polyline, defined by the array of the segment points.
    `class` | `QuadCurve` | The `Quadcurve` class defines a quadratic Bézier parametric curve segment in (x,y) coordinate space.
    `class` | `Rectangle` | The `Rectangle` class defines a rectangle with the specified size and location.
    `class` | `Shape` | The `Shape` class provides definitions of common properties for objects that represent some form of geometric shape.
    `class` | `Shape3D` | The `Shape3D` base class provides definitions of common properties for objects that represent some form of 3D geometric shape.
    `class` | `Sphere` | The `Sphere` class defines a 3 dimensional sphere with the specified size.
    `class` | `SVGPath` | The `SVGPath` class represents a simple shape that is constructed by parsing SVG path data from a String.

  - ### Uses of EventTarget in javafx.scene.text

    Classes in javafx.scene.text that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Text` | The `Text` class defines a node that displays a text.
    `class` | `TextFlow` | TextFlow is special layout designed to lay out rich text.

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

    Classes in javafx.scene.transform that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Affine` | The `Affine` class represents a general affine transform.
    `class` | `Rotate` | This class represents an `Affine` object that rotates coordinates around an anchor point.
    `class` | `Scale` | This class represents an `Affine` object that scales coordinates by the specified factors.
    `class` | `Shear` | This class represents an `Affine` object that shears coordinates by the specified multipliers.
    `class` | `Transform` | This class is a base class for different affine transformations.
    `class` | `Translate` | This class represents an `Affine` object that translates coordinates by the specified factors.

    Constructors in javafx.scene.transform with parameters of type EventTarget
    Constructor | Description
    --- | ---
    `TransformChangedEvent​(Object source, EventTarget target)` | Construct a new `TransformChangedEvent` with the specified event source and target.

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

    Classes in javafx.scene.web that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `HTMLEditor` | A control that allows for users to edit text, and apply styling to this text.
    `class` | `WebView` | `WebView` is a `Node` that manages a `WebEngine` and displays its content.

  - ### Uses of EventTarget in javafx.stage

    Classes in javafx.stage that implement EventTarget
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Popup` | A Popup is a special window-like container for a scene graph.
    `class` | `PopupWindow` | PopupWindow is the parent for a variety of different types of popup based windows including `Popup` and `Tooltip` and `ContextMenu`.
    `class` | `Stage` | The JavaFX `Stage` class is the top level JavaFX container.
    `class` | `Window` | A top level window within which a scene is hosted, and with which the user interacts.

    Methods in javafx.stage with parameters of type EventTarget
    Modifier and Type | Method | Description
    --- | --- | ---
    `WindowEvent` | WindowEvent.`copyFor​(Object newSource, EventTarget newTarget)` |
    `WindowEvent` | WindowEvent.`copyFor​(Object newSource, EventTarget newTarget, EventType<WindowEvent> type)` | Creates a copy of the given event with the given fields substituted.