Uses of Interface
javafx.event.EventTarget
Package
Description
Provides the set of classes for javafx.task.
Provides basic framework for FX events, their delivery and handling.
Provides the core set of base
classes for the JavaFX Scene Graph API.
Provides the set of classes for canvas, an immediate mode style of rendering API.
The JavaFX User Interface provides a set of chart components that
are a very convenient way for data visualization.
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.
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
.The javafx.scene.control.skin package is where the skin classes, typically
one for each UI control, are located
Provides the set of classes for loading and displaying images.
Provides the set of classes for mouse and keyboard input event handling.
Provides classes to support user interface layout.
Provides the set of classes for integrating audio and video into Java FX
Applications.
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
Provides the set of classes for fonts and renderable Text Node.
Provides the set of convenient classes to perform rotating, scaling,
shearing, and translation transformations for
Affine
objects.This package provides means for loading and displaying Web content.
Provides the top-level container classes for JavaFX content.
-
Uses of EventTarget in javafx.concurrent
Modifier and TypeClassDescriptionclass
The ScheduledService is aService
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 aFutureTask
. -
Uses of EventTarget in javafx.embed.swing
Modifier and TypeClassDescriptionclass
This class is used to embed a Swing content into a JavaFX application. -
Uses of EventTarget in javafx.event
Modifier and TypeFieldDescriptionstatic final 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.Modifier and TypeMethodDescriptionActionEvent.copyFor
(Object newSource, EventTarget newTarget) 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.ModifierConstructorDescriptionActionEvent
(Object source, EventTarget target) Construct a newActionEvent
with the specified event source and target.Event
(Object source, EventTarget target, EventType<? extends Event> eventType) Construct a newEvent
with the specified event source, target and type. -
Uses of EventTarget in javafx.scene
Modifier and TypeClassDescriptionclass
A light that illuminates an object from all directions equally regardless of its position and orientation.class
Base class for a camera used to render a scene.class
A light that illuminates an object from a specific direction.class
AGroup
node contains an ObservableList of children that are rendered in order whenever this node is rendered.class
TheLightBase
class is the base class for all objects that represent a form of light source.class
Base class for scene graph nodes.class
Specifies a parallel camera for rendering a scene without perspective correction.class
The base class for all nodes that have children in the scene graph.class
Specifies a perspective camera for rendering a scene.class
A light source that radiates light equally in all directions away from itself.class
The JavaFXScene
class is the container for all content in a scene graph.class
A light source that radiates light in a cone in a specific direction away from itself.class
TheSubScene
class is the container for content in a scene graph. -
Uses of EventTarget in javafx.scene.canvas
Modifier and TypeClassDescriptionclass
Canvas
is an image that can be drawn on using a set of graphics commands provided by aGraphicsContext
. -
Uses of EventTarget in javafx.scene.chart
Modifier and TypeClassDescriptionclass
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.final class
A axis implementation that will works on string categories where each value as a unique category(tick mark) along the axis.class
Base class for all charts.class
LineChart<X,
Y> Line Chart plots a line connecting the data points in a series.final class
An axis class that plots a range of numbers with major tick marks every tickUnit.class
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 ofAreaChart
that displays trends of the contribution of each value.class
StackedBarChart<X,
Y> StackedBarChart is a variation ofBarChart
that plots bars indicating data values for a category.class
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
Modifier and TypeClassDescriptionclass
An accordion is a group ofTitlePanes
.class
The Alert class subclasses theDialog
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
A simple button control.class
A ButtonBar is essentially aHBox
, with the additional functionality for operating system specific button placement.class
Base class for button-like UI Controls, including Hyperlinks, Buttons, ToggleButtons, CheckBoxes, and RadioButtons.class
Cell<T>
class
A tri-state selection Control typically skinned as a box with a checkmark or tick mark when checked.class
TreeItem subclass that adds support for being in selected, unselected, and indeterminate states.class
AMenuItem
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 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 theComboBoxBase
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
A popup control containing an ObservableList of menu items.class
Base class for all user interface controls.class
class
DateCell is used byDatePicker
to render the individual grid cells in the calendar month.class
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 aDialogPane
and provides the necessary API to present it to end users.class
DialogPane should be considered to be the root node displayed within aDialog
instance.class
An HTML like label which can be a graphic and/or text which responds to rollovers and clicks.class
IndexedCell<T>
An implementation ofCell
which contains an index property which maps into the data model underlying the visualization.class
Label is a non-editable text control.class
A LabeledControl
is one which has as part of its user interface a textual content associated with it.class
ListCell<T>
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
A popup menu of actionable items which is displayed to the user only upon request.class
A MenuBar control traditionally is placed at the very top of the user interface, and embedded within it areMenus
.class
MenuButton is a button which, when clicked or pressed, will show aContextMenu
.class
MenuItem is intended to be used in conjunction withMenu
to provide options to users.class
A Pagination control is used for navigation between pages of a single content, which has been divided into smaller parts.class
Text field that masks entered characters.class
An extension of PopupWindow that allows for CSS styling.protected class
The link between the popup window and the scenegraph.class
A specialization of the ProgressIndicator which is represented as a horizontal bar.class
A circular control which is used for indicating progress, either infinite (aka indeterminate) or finite.class
RadioButtons create a series of items where only one item can be selected.class
class
Either a horizontal or vertical bar with increment and decrement buttons and a "thumb" with which the user can interact.class
A Control that provides a scrolled, clipped viewport of its contents.class
A horizontal or vertical separator line.class
AMenuItem
that as the name suggests allows for a horizontal Separator to be embedded within it, by assigning aSeparator
to thecontent
property of theCustomMenuItem
This is provided for convenience as groups ofmenuitems
can be separated by a separator.class
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
The SplitMenuButton, like theMenuButton
is closely associated with the concept of selecting aMenuItem
from a menu.class
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
Tabs are placed within aTabPane
, where each tab represents a single 'page'.class
TableCell<S,
T> Represents a single row/column intersection in aTableView
.class
TableColumn<S,
T> ATableView
is made up of a number of TableColumn instances.class
TableColumnBase<S,
T> Table-like controls (such asTableView
andTreeTableView
) are made up of zero or more instances of a concrete TableColumnBase subclass (TableColumn
andTreeTableColumn
, respectively).class
TableRow<T>
TableRow is anIndexedCell
, 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
A control that allows switching between a group ofTabs
.class
Text input component that allows a user to enter multiple lines of plain text.class
Text input component that allows a user to enter a single line of unformatted text.class
Abstract base class for text input controls.class
A dialog that shows a text input control to the user.class
A TitledPane is a panel with a title that can be opened and closed.class
AToggleButton
is a specialized control which has the ability to be selected.class
A ToolBar is a control which displays items horizontally or vertically.class
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>
class
TreeItem<T>
The model for a single node supplying a hierarchy of values to a control such asTreeView
.class
TreeTableCell<S,
T> Represents a single row/column intersection in aTreeTableView
.class
TreeTableColumn<S,
T> ATreeTableView
is made up of a number of TreeTableColumn instances.class
TreeTableRow<T>
TreeTableRow is anIndexedCell
, but rarely needs to be used by developers creating TreeTableView instances.class
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 typeTreeItem
).Modifier and TypeMethodDescriptionDialogEvent.copyFor
(Object newSource, EventTarget newTarget) DialogEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<DialogEvent> type) Creates a copy of the given event with the given fields substituted.ModifierConstructorDescriptionScrollToEvent
(Object source, EventTarget target, EventType<ScrollToEvent<T>> type, T scrollTarget) Construct a newEvent
with the specified event source, target and type.SortEvent
(C source, EventTarget target) Constructs a newSortEvent
with the specified event source and target. -
Uses of EventTarget in javafx.scene.control.cell
Modifier and TypeClassDescriptionclass
class
CheckBoxTableCell<S,
T> class
class
A class containing aTreeTableCell
implementation that draws aCheckBox
node inside the cell, optionally with a label to indicate what the checkbox represents.class
class
ChoiceBoxTableCell<S,
T> class
class
A class containing aTreeTableCell
implementation that draws aChoiceBox
node inside the cell.class
class
ComboBoxTableCell<S,
T> class
class
A class containing aTreeTableCell
implementation that draws aComboBox
node inside the cell.class
A class containing aTableCell
implementation that draws aProgressBar
node inside the cell.class
A class containing aTreeTableCell
implementation that draws aProgressBar
node inside the cell.class
class
TextFieldTableCell<S,
T> class
class
-
Uses of EventTarget in javafx.scene.control.skin
Modifier and TypeClassDescriptionclass
This class is used to construct the header of a TableView.class
Region responsible for painting a single column header.class
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
-
Uses of EventTarget in javafx.scene.input
Modifier and TypeMethodDescriptionTouchPoint.getGrabbed()
Gets event target which has grabbed this touch point.TouchPoint.getTarget()
Gets event target on which the touch event carrying this touch point is fired.Modifier and TypeMethodDescriptionboolean
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.copyFor
(Object newSource, EventTarget newTarget) DragEvent.copyFor
(Object newSource, EventTarget newTarget) 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.copyFor
(Object source, EventTarget target, EventType<DragEvent> type) Creates a copy of the given drag event with the given fields substituted.GestureEvent.copyFor
(Object newSource, EventTarget newTarget) Creates and returns a copy of this event with the specified event source and target.InputMethodEvent.copyFor
(Object newSource, EventTarget newTarget) KeyEvent.copyFor
(Object newSource, EventTarget newTarget) KeyEvent.copyFor
(Object source, EventTarget target, EventType<KeyEvent> type) Creates a copy of the given event with the given fields substituted.MouseDragEvent.copyFor
(Object newSource, EventTarget newTarget) MouseDragEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<? extends MouseEvent> type) MouseEvent.copyFor
(Object newSource, EventTarget newTarget) Copies this event for a different source and target.MouseEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<? extends MouseEvent> eventType) Creates a copy of the given event with the given fields substituted.RotateEvent.copyFor
(Object newSource, EventTarget newTarget) RotateEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<RotateEvent> type) Creates a copy of the given event with the given fields substituted.ScrollEvent.copyFor
(Object newSource, EventTarget newTarget) ScrollEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<ScrollEvent> type) Creates a copy of the given event with the given fields substituted.SwipeEvent.copyFor
(Object newSource, EventTarget newTarget) SwipeEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<SwipeEvent> type) Creates a copy of the given event with the given fields substituted.TouchEvent.copyFor
(Object newSource, EventTarget newTarget) Creates and returns a copy of this event with the specified event source and target.TouchEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<TouchEvent> type) Creates a copy of the given event with the given fields substituted.ZoomEvent.copyFor
(Object newSource, EventTarget newTarget) 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 typevoid
TouchPoint.grab
(EventTarget target) Grabs this touch point by the given target.ModifierConstructorDescriptionContextMenuEvent
(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.protected
GestureEvent
(Object source, EventTarget target, EventType<? extends GestureEvent> eventType) Deprecated.Do not use this constructor.protected
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 newKeyEvent
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
Modifier and TypeClassDescriptionclass
AnchorPane allows the edges of child nodes to be anchored to an offset from the anchor pane's edges.class
BorderPane lays out children in top, left, right, bottom, and center positions.class
FlowPane lays out its children in a flow that wraps at the flowpane's boundary.class
GridPane lays out its children within a flexible grid of rows and columns.class
HBox lays out its children in a single horizontal row.class
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 is the base class for all JavaFX Node-based UI Controls, and all layout containers.class
StackPane lays out its children in a back-to-front stack.class
TilePane lays out its children in a grid of uniformly sized "tiles".class
VBox lays out its children in a single vertical column. -
Uses of EventTarget in javafx.scene.media
Modifier and TypeClassDescriptionclass
Modifier and TypeMethodDescriptionMediaErrorEvent.copyFor
(Object newSource, EventTarget newTarget) -
Uses of EventTarget in javafx.scene.shape
Modifier and TypeClassDescriptionclass
TheArc
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
, orArcType.ROUND
).class
TheBox
class defines a 3 dimensional box with the specified size.class
TheCircle
class creates a new circle with the specified radius and center location measured in pixels.class
TheCubiCurve
class defines a cubic Bézier parametric curve segment in (x,y) coordinate space.class
TheCylinder
class defines a 3 dimensional cylinder with the specified size.class
TheEllipse
class creates a new ellipse with the specified size and location in pixelsclass
This Line represents a line segment in(x,y)
coordinate space.class
TheMeshView
class defines a surface with the specified 3D mesh data.class
ThePath
class represents a simple shape and provides facilities required for basic construction and management of a geometric path.class
Creates a polygon, defined by an array of x,y coordinates.class
Creates a polyline, defined by the array of the segment points.class
TheQuadcurve
class defines a quadratic Bézier parametric curve segment in (x,y) coordinate space.class
TheRectangle
class defines a rectangle with the specified size and location.class
TheShape
class provides definitions of common properties for objects that represent some form of geometric shape.class
TheShape3D
base class provides definitions of common properties for objects that represent some form of 3D geometric shape.class
TheSphere
class defines a 3 dimensional sphere with the specified size.class
TheSVGPath
class represents a simple shape that is constructed by parsing SVG path data from a String. -
Uses of EventTarget in javafx.scene.text
-
Uses of EventTarget in javafx.scene.transform
Modifier and TypeClassDescriptionclass
TheAffine
class represents a general affine transform.class
This class represents anAffine
object that rotates coordinates around an anchor point.class
This class represents anAffine
object that scales coordinates by the specified factors.class
This class represents anAffine
object that shears coordinates by the specified multipliers.class
This class is a base class for different affine transformations.class
This class represents anAffine
object that translates coordinates by the specified factors.ModifierConstructorDescriptionTransformChangedEvent
(Object source, EventTarget target) Construct a newTransformChangedEvent
with the specified event source and target. -
Uses of EventTarget in javafx.scene.web
Modifier and TypeClassDescriptionclass
A control that allows for users to edit text, and apply styling to this text.final class
-
Uses of EventTarget in javafx.stage
Modifier and TypeClassDescriptionclass
A Popup is a special window-like container for a scene graph.class
PopupWindow is the parent for a variety of different types of popup based windows includingPopup
andTooltip
andContextMenu
.class
The JavaFXStage
class is the top level JavaFX container.class
A top level window within which a scene is hosted, and with which the user interacts.Modifier and TypeMethodDescriptionWindowEvent.copyFor
(Object newSource, EventTarget newTarget) WindowEvent.copyFor
(Object newSource, EventTarget newTarget, EventType<WindowEvent> type) Creates a copy of the given event with the given fields substituted.