Uses of Interface
javafx.event.EventTarget
Package
Description
-
Uses of EventTarget in com.sun.javafx.event
Modifier and TypeMethodDescriptionCompositeEventTarget.getTargets()
CompositeEventTargetImpl.getTargets()
Modifier and TypeMethodDescriptionboolean
CompositeEventTarget.containsTarget
(EventTarget target) boolean
CompositeEventTargetImpl.containsTarget
(EventTarget target) static Event
EventUtil.fireEvent
(Event event, EventTarget... eventTargets) static Event
EventUtil.fireEvent
(EventTarget eventTarget, Event event) ModifierConstructorDescriptionCompositeEventTargetImpl
(EventTarget... eventTargets) DirectEvent
(Event originalEvent, Object source, EventTarget target) RedirectedEvent
(Event originalEvent, Object source, EventTarget target) -
Uses of EventTarget in com.sun.javafx.scene.control
Modifier and TypeClassDescriptionclass
This is a the SkinBase for ContextMenu based controls so that the CSS parts work right, because otherwise we would have to copy the Keys from there to here.class
class
LabeledText allows the Text to be styled by the CSS properties of Labeled that are meant to style the textual component of the Labeled. -
Uses of EventTarget in com.sun.javafx.tk
-
Uses of EventTarget in com.sun.javafx.tk.quantum
-
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
-
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.control
Modifier and TypeClassDescriptionclass
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
class
A ButtonBar is essentially aHBox
, with the additional functionality for operating system specific button placement.class
class
Cell<T>
The Cell API is used for virtualized controls such asListView
,TreeView
, andTableView
.class
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
ComboBoxBase<T>
Abstract base class for ComboBox-like controls.class
A popup control containing an ObservableList of menu items.class
class
class
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
Label is a non-editable text control.class
class
A popup menu of actionable items which is displayed to the user only upon request.class
MenuItem is intended to be used in conjunction withMenu
to provide options to users.class
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
class
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
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
A control that allows switching between a group ofTabs
.class
class
class
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
-
Uses of EventTarget in javafx.scene.control.skin
-
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) Fills the given event by this event's coordinates recomputed to the given source objectDragEvent.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.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.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.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.KeyEvent
(Object source, EventTarget target, EventType<KeyEvent> eventType, String character, String text, KeyCode code, boolean shiftDown, boolean controlDown, boolean altDown, boolean metaDown) Constructs new KeyEvent event with null source and target and KeyCode object directly specified.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 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.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. -
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
class
class
StackPane lays out its children in a back-to-front stack.class
VBox lays out its children in a single vertical column. -
Uses of EventTarget in javafx.scene.media
-
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
class
class
ThePath
class represents a simple shape and provides facilities required for basic construction and management of a geometric path.class
class
class
SubtractShape is a pure WebFX class created by Shape.subtract() and the only supported usage so far is clipping.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.web
-
Uses of EventTarget in javafx.stage
Modifier and TypeClassDescriptionclass
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
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.