Package | Description |
---|---|
javafx.concurrent |
Provides the set of classes for javafx.task.
|
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.web |
This package provides means for loading and displaying Web content.
|
javafx.stage |
Provides the top-level container classes for JavaFX content.
|
Modifier and Type | Field and Description |
---|---|
static EventType<WorkerStateEvent> |
WorkerStateEvent.ANY
Common supertype for all worker state event types.
|
static EventType<WorkerStateEvent> |
WorkerStateEvent.WORKER_STATE_CANCELLED
This event occurs when the state of a Worker implementation has
transitioned to the CANCELLED state.
|
static EventType<WorkerStateEvent> |
WorkerStateEvent.WORKER_STATE_FAILED
This event occurs when the state of a Worker implementation has
transitioned to the FAILED state.
|
static EventType<WorkerStateEvent> |
WorkerStateEvent.WORKER_STATE_READY
This event occurs when the state of a Worker implementation has
transitioned to the READY state.
|
static EventType<WorkerStateEvent> |
WorkerStateEvent.WORKER_STATE_RUNNING
This event occurs when the state of a Worker implementation has
transitioned to the RUNNING state.
|
static EventType<WorkerStateEvent> |
WorkerStateEvent.WORKER_STATE_SCHEDULED
This event occurs when the state of a Worker implementation has
transitioned to the SCHEDULED state.
|
static EventType<WorkerStateEvent> |
WorkerStateEvent.WORKER_STATE_SUCCEEDED
This event occurs when the state of a Worker implementation has
transitioned to the SUCCEEDED state.
|
Modifier and Type | Method and Description |
---|---|
<T extends Event> |
Task.addEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Registers an event filter to this task.
|
<T extends Event> |
Service.addEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Registers an event filter to this task.
|
(package private) <T extends Event> |
EventHelper.addEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Registers an event filter to this task.
|
<T extends Event> |
Task.addEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Registers an event handler to this task.
|
<T extends Event> |
Service.addEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Registers an event handler to this task.
|
(package private) <T extends Event> |
EventHelper.addEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Registers an event handler to this task.
|
<T extends Event> |
Task.removeEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Unregisters a previously registered event filter from this task.
|
<T extends Event> |
Service.removeEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Unregisters a previously registered event filter from this task.
|
(package private) <T extends Event> |
EventHelper.removeEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Unregisters a previously registered event filter from this task.
|
<T extends Event> |
Task.removeEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Unregisters a previously registered event handler from this task.
|
<T extends Event> |
Service.removeEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Unregisters a previously registered event handler from this task.
|
(package private) <T extends Event> |
EventHelper.removeEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Unregisters a previously registered event handler from this task.
|
protected <T extends Event> |
Task.setEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Sets the handler to use for this event type.
|
protected <T extends Event> |
Service.setEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Sets the handler to use for this event type.
|
(package private) <T extends Event> |
EventHelper.setEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Sets the handler to use for this event type.
|
Constructor and Description |
---|
WorkerStateEvent(Worker worker,
EventType<? extends WorkerStateEvent> eventType)
Create a new WorkerStateEvent.
|
Modifier and Type | Field and Description |
---|---|
static EventType<ActionEvent> |
ActionEvent.ACTION
The only valid EventType for the ActionEvent.
|
static EventType<Event> |
Event.ANY
Common supertype for all event types.
|
protected EventType<? extends Event> |
Event.eventType
Type of the event.
|
static EventType<Event> |
EventType.ROOT
The root event type.
|
private EventType<? super T> |
EventType.superType |
Modifier and Type | Method and Description |
---|---|
EventType<? extends Event> |
Event.getEventType()
Gets the event type of this event.
|
EventType<? super T> |
EventType.getSuperType()
Gets the super type of this event type.
|
Constructor and Description |
---|
Event(EventType<? extends Event> eventType)
Construct a new
Event with the specified event type. |
Event(java.lang.Object source,
EventTarget target,
EventType<? extends Event> eventType)
Construct a new
Event with the specified event source, target
and type. |
EventType(EventType<? super T> superType)
Constructs a new
EventType with the specified super type and
the name set to null . |
EventType(EventType<? super T> superType,
java.lang.String name)
Constructs a new
EventType with the specified super type and
name. |
EventType(java.lang.String name,
EventType<? super T> superType) |
Modifier and Type | Method and Description |
---|---|
<T extends Event> |
Scene.addEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Registers an event filter to this scene.
|
<T extends Event> |
Node.addEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Registers an event filter to this node.
|
<T extends Event> |
Scene.addEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Registers an event handler to this scene.
|
<T extends Event> |
Node.addEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Registers an event handler to this node.
|
<T extends Event> |
Scene.removeEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Unregisters a previously registered event filter from this scene.
|
<T extends Event> |
Node.removeEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Unregisters a previously registered event filter from this node.
|
<T extends Event> |
Scene.removeEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Unregisters a previously registered event handler from this scene.
|
<T extends Event> |
Node.removeEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Unregisters a previously registered event handler from this node.
|
void |
Scene.ScenePeerListener.rotateEvent(EventType<RotateEvent> eventType,
double angle,
double totalAngle,
double x,
double y,
double screenX,
double screenY,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _direct,
boolean _inertia) |
void |
Scene.ScenePeerListener.scrollEvent(EventType<ScrollEvent> eventType,
double scrollX,
double scrollY,
double totalScrollX,
double totalScrollY,
double xMultiplier,
double yMultiplier,
int touchCount,
int scrollTextX,
int scrollTextY,
int defaultTextX,
int defaultTextY,
double x,
double y,
double screenX,
double screenY,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _direct,
boolean _inertia) |
protected <T extends Event> |
Scene.setEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Sets the handler to use for this event type.
|
protected <T extends Event> |
Node.setEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Sets the handler to use for this event type.
|
void |
Scene.ScenePeerListener.swipeEvent(EventType<SwipeEvent> eventType,
int touchCount,
double x,
double y,
double screenX,
double screenY,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _direct) |
void |
Scene.ScenePeerListener.zoomEvent(EventType<ZoomEvent> eventType,
double zoomFactor,
double totalZoomFactor,
double x,
double y,
double screenX,
double screenY,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _direct,
boolean _inertia) |
Modifier and Type | Field and Description |
---|---|
private static EventType<?> |
TreeItem.BRANCH_COLLAPSED_EVENT |
private static EventType<?> |
TreeItem.BRANCH_EXPANDED_EVENT |
private static EventType<?> |
CheckBoxTreeItem.CHECK_BOX_SELECTION_CHANGED_EVENT |
private static EventType<?> |
TreeItem.CHILDREN_MODIFICATION_EVENT |
static EventType<Event> |
Tab.CLOSED_EVENT
Called when a user closes this tab.
|
private static EventType<?> |
TreeView.EDIT_ANY_EVENT |
private static EventType<?> |
TableColumn.EDIT_ANY_EVENT |
private static EventType<?> |
ListView.EDIT_ANY_EVENT |
private static EventType<?> |
TreeView.EDIT_CANCEL_EVENT |
private static EventType<?> |
TableColumn.EDIT_CANCEL_EVENT |
private static EventType<?> |
ListView.EDIT_CANCEL_EVENT |
private static EventType<?> |
TreeView.EDIT_COMMIT_EVENT |
private static EventType<?> |
TableColumn.EDIT_COMMIT_EVENT |
private static EventType<?> |
ListView.EDIT_COMMIT_EVENT |
private static EventType<?> |
TreeView.EDIT_START_EVENT |
private static EventType<?> |
TableColumn.EDIT_START_EVENT |
private static EventType<?> |
ListView.EDIT_START_EVENT |
private static EventType<?> |
TreeItem.GRAPHIC_CHANGED_EVENT |
EventType<Event> |
MenuItem.MENU_VALIDATION_EVENT
Called when a accelerator for the Menuitem is invoked
|
static EventType<Event> |
Menu.ON_HIDDEN
Called when the contentMenu for this menu is hidden.
|
static EventType<Event> |
ComboBoxBase.ON_HIDDEN
Called when the ComboBox popup/display has been hidden.
|
static EventType<Event> |
Menu.ON_HIDING
Called when the contentMenu for this menu will be hidden.
|
static EventType<Event> |
ComboBoxBase.ON_HIDING
Called when the ComboBox popup/display will be hidden.
|
static EventType<Event> |
Menu.ON_SHOWING
Called when the contentMenu for this menu will be shown.
|
static 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 EventType<Event> |
Menu.ON_SHOWN
Called when the contentMenu for this menu shows.
|
static EventType<Event> |
ComboBoxBase.ON_SHOWN
Called after the ComboBox has shown its popup/display.
|
static EventType<Event> |
Tab.SELECTION_CHANGED_EVENT
Called when the tab becomes selected or unselected.
|
private static EventType |
TreeItem.TREE_ITEM_COUNT_CHANGE_EVENT |
private static EventType |
TreeItem.TREE_NOTIFICATION_EVENT |
private static EventType<?> |
TreeItem.VALUE_CHANGED_EVENT |
Modifier and Type | Method and Description |
---|---|
static <T> EventType<TreeItem.TreeModificationEvent<T>> |
TreeItem.branchCollapsedEvent()
An EventType used when the TreeItem receives a modification to its
expanded property, such that the TreeItem is now in the collapsed state.
|
static <T> EventType<TreeItem.TreeModificationEvent<T>> |
TreeItem.branchExpandedEvent()
An EventType used when the TreeItem receives a modification to its
expanded property, such that the TreeItem is now in the expanded state.
|
static <T> EventType<CheckBoxTreeItem.TreeModificationEvent<T>> |
CheckBoxTreeItem.checkBoxSelectionChangedEvent()
An EventType used when the CheckBoxTreeItem selection / indeterminate
state changes.
|
static <T> EventType<TreeItem.TreeModificationEvent<T>> |
TreeItem.childrenModificationEvent()
An EventType used when the TreeItem receives a direct modification to its
children list.
|
static <S,T> EventType<TableColumn.CellEditEvent<S,T>> |
TableColumn.editAnyEvent()
Parent event for any TableColumn edit event.
|
static <T> EventType<TreeView.EditEvent<T>> |
TreeView.editAnyEvent()
An EventType that indicates some edit event has occurred.
|
static <T> EventType<ListView.EditEvent<T>> |
ListView.editAnyEvent()
An EventType that indicates some edit event has occurred.
|
static <S,T> EventType<TableColumn.CellEditEvent<S,T>> |
TableColumn.editCancelEvent()
Indicates that the editing has been canceled, meaning that no change should
be made to the backing data source.
|
static <T> EventType<TreeView.EditEvent<T>> |
TreeView.editCancelEvent()
An EventType used to indicate that an edit event has just been canceled
within the TreeView upon which the event was fired.
|
static <T> EventType<ListView.EditEvent<T>> |
ListView.editCancelEvent()
An EventType used to indicate that an edit event has just been canceled
within the ListView upon which the event was fired.
|
static <S,T> EventType<TableColumn.CellEditEvent<S,T>> |
TableColumn.editCommitEvent()
Indicates that the editing has been committed by the user, meaning that
a change should be made to the backing data source to reflect the new
data.
|
static <T> EventType<TreeView.EditEvent<T>> |
TreeView.editCommitEvent()
An EventType that is used to indicate that an edit in a TreeView has been
committed.
|
static <T> EventType<ListView.EditEvent<T>> |
ListView.editCommitEvent()
An EventType used to indicate that an edit event has been committed
within the ListView upon which the event was fired.
|
static <S,T> EventType<TableColumn.CellEditEvent<S,T>> |
TableColumn.editStartEvent()
Indicates that the user has performed some interaction to start an edit
event, or alternatively the
TableView.edit(int, javafx.scene.control.TableColumn)
method has been called. |
static <T> EventType<TreeView.EditEvent<T>> |
TreeView.editStartEvent()
An EventType used to indicate that an edit event has started within the
TreeView upon which the event was fired.
|
static <T> EventType<ListView.EditEvent<T>> |
ListView.editStartEvent()
An EventType used to indicate that an edit event has started within the
ListView upon which the event was fired.
|
static <T> EventType<TreeItem.TreeModificationEvent<T>> |
TreeItem.graphicChangedEvent()
An EventType used when the TreeItem receives a modification to its
graphic property.
|
static <T> EventType<TreeItem.TreeModificationEvent<T>> |
TreeItem.treeItemCountChangeEvent()
The general EventType used when the TreeItem receives a modification that
results in the number of children being visible changes.
|
static <T> EventType<TreeItem.TreeModificationEvent<T>> |
TreeItem.treeNotificationEvent()
The base EventType used to indicate that an event has occurred within a
TreeItem.
|
static <T> EventType<TreeItem.TreeModificationEvent<T>> |
TreeItem.valueChangedEvent()
An EventType used when the TreeItem receives a modification to its
value property.
|
Modifier and Type | Method and Description |
---|---|
<E extends Event> |
TreeItem.addEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Registers an event handler to this TreeItem.
|
<E extends Event> |
TableColumn.addEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Registers an event handler to this TableColumn.
|
<E extends Event> |
MenuItem.addEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Registers an event handler to this MenuItem.
|
<E extends Event> |
Menu.addEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler) |
<E extends Event> |
TreeItem.removeEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Unregisters a previously registered event handler from this TreeItem.
|
<E extends Event> |
TableColumn.removeEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Unregisters a previously registered event handler from this TableColumn.
|
<E extends Event> |
MenuItem.removeEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Unregisters a previously registered event handler from this MenuItem.
|
<E extends Event> |
Menu.removeEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler) |
protected <E extends Event> |
Tab.setEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Constructor and Description |
---|
CheckBoxTreeItem.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.
|
ListView.EditEvent(ListView<T> source,
EventType<? extends ListView.EditEvent<T>> eventType,
T newValue,
int editIndex)
Creates a new EditEvent instance to represent an edit event.
|
TableColumn.CellEditEvent(TableView<S> table,
TablePosition<S,T> pos,
EventType<TableColumn.CellEditEvent> eventType,
T newValue)
Creates a new event that can be subsequently fired to the relevant listeners.
|
TreeItem.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.
|
TreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
TreeItem<T> treeItem,
boolean expanded)
Constructs a TreeModificationEvent for when the TreeItem has had its
TreeItem.expandedProperty() changed. |
TreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
TreeItem<T> treeItem,
java.util.List<? extends TreeItem<T>> added,
java.util.List<? extends TreeItem<T>> removed)
Constructs a TreeModificationEvent for when the TreeItem has had its
children list changed.
|
TreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
TreeItem<T> treeItem,
T newValue)
Constructs a TreeModificationEvent for when the TreeItem has had its
TreeItem.valueProperty() changed. |
TreeView.EditEvent(TreeView<T> source,
EventType<? extends TreeView.EditEvent> eventType,
TreeItem<T> treeItem,
T oldValue,
T newValue)
Creates a new EditEvent instance to represent an edit event.
|
Modifier and Type | Field and Description |
---|---|
static EventType<ZoomEvent> |
ZoomEvent.ANY
Common supertype for all zoom event types.
|
static EventType<TouchEvent> |
TouchEvent.ANY
Common supertype for all touch event types.
|
static EventType<SwipeEvent> |
SwipeEvent.ANY
Common supertype for all swipe event types.
|
static EventType<ScrollEvent> |
ScrollEvent.ANY
Common supertype for all scroll event types.
|
static EventType<RotateEvent> |
RotateEvent.ANY
Common supertype for all rotate event types.
|
static EventType<MouseEvent> |
MouseEvent.ANY
Common supertype for all mouse event types.
|
static EventType<MouseDragEvent> |
MouseDragEvent.ANY
Common supertype for all mouse event types.
|
static EventType<KeyEvent> |
KeyEvent.ANY
Common supertype for all key event types.
|
static EventType<InputEvent> |
InputEvent.ANY
Common supertype for all input event types.
|
static EventType<GestureEvent> |
GestureEvent.ANY
Common supertype for all gestures.
|
static EventType<DragEvent> |
DragEvent.ANY
Common supertype for all drag event types.
|
static EventType<ContextMenuEvent> |
ContextMenuEvent.CONTEXT_MENU_REQUESTED
This event occurs when a context menu is requested.
|
static EventType<MouseEvent> |
MouseEvent.DRAG_DETECTED
This event is delivered to a node that is identified as a source of a
dragging gesture.
|
static EventType<DragEvent> |
DragEvent.DRAG_DONE
This event occurs on drag-and-drop gesture source after its data has
been dropped on a drop target.
|
static EventType<DragEvent> |
DragEvent.DRAG_DROPPED
This event occurs when the mouse button is released during drag and drop
gesture on a drop target.
|
static EventType<DragEvent> |
DragEvent.DRAG_ENTERED
This event occurs when drag gesture enters a node.
|
static EventType<DragEvent> |
DragEvent.DRAG_ENTERED_TARGET
This event occurs when drag gesture enters a node.
|
static EventType<DragEvent> |
DragEvent.DRAG_EXITED
This event occurs when drag gesture exits a node.
|
static EventType<DragEvent> |
DragEvent.DRAG_EXITED_TARGET
This event occurs when drag gesture exits a node.
|
static EventType<DragEvent> |
DragEvent.DRAG_OVER
This event occurs when drag gesture progresses within this node.
|
static EventType<InputMethodEvent> |
InputMethodEvent.INPUT_METHOD_TEXT_CHANGED
The only valid EventType for the InputMethodEvent.
|
static EventType<KeyEvent> |
KeyEvent.KEY_PRESSED
This event occurs when a key has been pressed.
|
static EventType<KeyEvent> |
KeyEvent.KEY_RELEASED
This event occurs when a key has been released.
|
static EventType<KeyEvent> |
KeyEvent.KEY_TYPED
This event occurs when a key has been typed (pressed and released).
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_CLICKED
This event occurs when mouse button has been clicked (pressed and
released on the same node).
|
static EventType<MouseDragEvent> |
MouseDragEvent.MOUSE_DRAG_ENTERED
This event occurs when the gesture enters a node.
|
static EventType<MouseDragEvent> |
MouseDragEvent.MOUSE_DRAG_ENTERED_TARGET
This event occurs when the gesture enters a node.
|
static EventType<MouseDragEvent> |
MouseDragEvent.MOUSE_DRAG_EXITED
This event occurs when the gesture exits a node.
|
static EventType<MouseDragEvent> |
MouseDragEvent.MOUSE_DRAG_EXITED_TARGET
This event occurs when the gesture exits a node.
|
static EventType<MouseDragEvent> |
MouseDragEvent.MOUSE_DRAG_OVER
This event occurs when the gesture progresses within this node.
|
static EventType<MouseDragEvent> |
MouseDragEvent.MOUSE_DRAG_RELEASED
This event occurs when the gesture ends (by releasing mouse button)
on this node.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_DRAGGED
This event occurs when mouse moves with a pressed button.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_ENTERED
This event occurs when mouse enters a node.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_ENTERED_TARGET
This event occurs when mouse enters a node.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_EXITED
This event occurs when mouse exits a node.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_EXITED_TARGET
This event occurs when mouse exits a node.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_MOVED
This event occurs when mouse moves within a node and no buttons
are pressed.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_PRESSED
This event occurs when mouse button is pressed.
|
static EventType<MouseEvent> |
MouseEvent.MOUSE_RELEASED
This event occurs when mouse button is released.
|
static EventType<RotateEvent> |
RotateEvent.ROTATE
This event occurs when user performs a rotating gesture such as
dragging two fingers around each other.
|
static EventType<RotateEvent> |
RotateEvent.ROTATION_FINISHED
This event occurs when a rotating gesture ends.
|
static EventType<RotateEvent> |
RotateEvent.ROTATION_STARTED
This event occurs when a rotating gesture is detected.
|
static EventType<ScrollEvent> |
ScrollEvent.SCROLL
This event occurs when user performs a scrolling action such as
rotating mouse wheel or dragging a finger over touch screen.
|
static EventType<ScrollEvent> |
ScrollEvent.SCROLL_FINISHED
This event occurs when a scrolling gesture ends.
|
static EventType<ScrollEvent> |
ScrollEvent.SCROLL_STARTED
This event occurs when a scrolling gesture is detected.
|
static EventType<SwipeEvent> |
SwipeEvent.SWIPE_DOWN
This event occurs when user performs downward swipe gesture.
|
static EventType<SwipeEvent> |
SwipeEvent.SWIPE_LEFT
This event occurs when user performs leftward swipe gesture.
|
static EventType<SwipeEvent> |
SwipeEvent.SWIPE_RIGHT
This event occurs when user performs rightward swipe gesture.
|
static EventType<SwipeEvent> |
SwipeEvent.SWIPE_UP
This event occurs when user performs upward swipe gesture.
|
static EventType<TouchEvent> |
TouchEvent.TOUCH_MOVED
This event occurs when the touch point is moved.
|
static EventType<TouchEvent> |
TouchEvent.TOUCH_PRESSED
This event occurs when the touch point is pressed (touched for the
first time).
|
static EventType<TouchEvent> |
TouchEvent.TOUCH_RELEASED
This event occurs when the touch point is released.
|
static EventType<TouchEvent> |
TouchEvent.TOUCH_STATIONARY
This event occurs when the touch point is pressed and still (doesn't
move).
|
static EventType<ZoomEvent> |
ZoomEvent.ZOOM
This event occurs when user performs a zooming gesture such as
dragging two fingers apart.
|
static EventType<ZoomEvent> |
ZoomEvent.ZOOM_FINISHED
This event occurs when a zooming gesture ends.
|
static EventType<ZoomEvent> |
ZoomEvent.ZOOM_STARTED
This event occurs when a zooming gesture is detected.
|
Modifier and Type | Method and Description |
---|---|
static ContextMenuEvent |
ContextMenuEvent.impl_contextEvent(double _x,
double _y,
double _screenX,
double _screenY,
boolean _keyboardTrigger,
EventType<? extends ContextMenuEvent> _eventType)
Deprecated.
|
static DragEvent |
DragEvent.impl_copy(java.lang.Object source,
EventTarget target,
DragEvent evt,
EventType<DragEvent> eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static MouseEvent |
MouseEvent.impl_copy(java.lang.Object source,
EventTarget target,
MouseEvent evt,
EventType<? extends MouseEvent> impl_EventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static MouseEvent |
MouseDragEvent.impl_copy(java.lang.Object source,
EventTarget target,
java.lang.Object gestureSource,
MouseEvent evt,
EventType<? extends MouseEvent> eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static DragEvent |
DragEvent.impl_copy(java.lang.Object source,
EventTarget target,
java.lang.Object gestureSource,
java.lang.Object gestureTarget,
DragEvent evt,
EventType<DragEvent> eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static DragEvent |
DragEvent.impl_copy(java.lang.Object source,
EventTarget target,
java.lang.Object gestureSource,
java.lang.Object gestureTarget,
TransferMode transferMode,
DragEvent evt,
EventType<DragEvent> eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static DragEvent |
DragEvent.impl_create(EventType<DragEvent> _eventType,
java.lang.Object _source,
EventTarget _target,
java.lang.Object _gestureSource,
java.lang.Object _gestureTarget,
double _x,
double _y,
double _screenX,
double _screenY,
TransferMode _transferMode,
Dragboard _dragboard,
com.sun.javafx.tk.TKDropEvent _tkDropEvent)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
private static DragEvent |
DragEvent.impl_dragEvent(java.lang.Object _source,
EventTarget _target,
java.lang.Object _gestureSource,
java.lang.Object _gestureTarget,
double _x,
double _y,
double _screenX,
double _screenY,
TransferMode _transferMode,
EventType<? extends DragEvent> _eventType,
Dragboard _dragboard) |
static InputMethodEvent |
InputMethodEvent.impl_inputMethodEvent(EventTarget target,
ObservableList<InputMethodTextRun> composed,
java.lang.String committed,
int caretPosition,
EventType<? extends InputMethodEvent> eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static KeyEvent |
KeyEvent.impl_keyEvent(EventTarget target,
java.lang.String character,
java.lang.String text,
int code,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
EventType<? extends KeyEvent> eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static MouseEvent |
MouseEvent.impl_mouseEvent(double _x,
double _y,
double _screenX,
double _screenY,
MouseButton _button,
int _clickCount,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _popupTrigger,
boolean _primaryButtonDown,
boolean _middleButtonDown,
boolean _secondaryButtonDown,
boolean _synthesized,
EventType<? extends MouseEvent> _eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
private static MouseEvent |
MouseEvent.impl_mouseEvent(java.lang.Object _source,
EventTarget _target,
double _x,
double _y,
double _screenX,
double _screenY,
MouseButton _button,
int _clickCount,
boolean _stillSincePress,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _popupTrigger,
boolean _primaryButtonDown,
boolean _middleButtonDown,
boolean _secondaryButtonDown,
boolean _synthesized,
EventType<? extends MouseEvent> _eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static RotateEvent |
RotateEvent.impl_rotateEvent(EventType<? extends RotateEvent> eventType,
double angle,
double totalAngle,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static ScrollEvent |
ScrollEvent.impl_scrollEvent(EventType<ScrollEvent> eventType,
double _scrollX,
double _scrollY,
double _totalScrollX,
double _totalScrollY,
ScrollEvent.HorizontalTextScrollUnits _scrollTextXUnits,
double _scrollTextX,
ScrollEvent.VerticalTextScrollUnits _scrollTextYUnits,
double _scrollTextY,
int _touchPoints,
double _x,
double _y,
double _screenX,
double _screenY,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _direct,
boolean _inertia)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static SwipeEvent |
SwipeEvent.impl_swipeEvent(EventType<? extends SwipeEvent> eventType,
int touchCount,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static TouchEvent |
TouchEvent.impl_touchEvent(EventType<? extends TouchEvent> eventType,
TouchPoint touchPoint,
java.util.List<TouchPoint> touchPoints,
int eventSetId,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static ZoomEvent |
ZoomEvent.impl_zoomEvent(EventType<? extends ZoomEvent> eventType,
double zoomFactor,
double totalZoomFactor,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Constructor and Description |
---|
ContextMenuEvent(EventType<? extends ContextMenuEvent> eventType) |
DragEvent(EventType<? extends DragEvent> eventType) |
DragEvent(java.lang.Object source,
EventTarget target,
EventType<? extends DragEvent> eventType) |
GestureEvent(EventType<? extends GestureEvent> eventType)
Creates a new instance of
GestureEvent . |
GestureEvent(EventType<? extends GestureEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia) |
GestureEvent(java.lang.Object source,
EventTarget target,
EventType<? extends GestureEvent> eventType)
Creates a new instance of
GestureEvent . |
InputEvent(EventType<? extends InputEvent> eventType)
Creates new instance of InputEvent.
|
InputEvent(java.lang.Object source,
EventTarget target,
EventType<? extends InputEvent> eventType)
Creates new instance of InputEvent.
|
InputMethodEvent(EventType<? extends InputMethodEvent> eventType) |
InputMethodEvent(java.lang.Object source,
EventTarget target,
EventType<? extends InputMethodEvent> eventType) |
KeyEvent(EventType<? extends KeyEvent> eventType) |
KeyEvent(java.lang.Object source,
EventTarget target,
EventType<? extends KeyEvent> eventType) |
MouseDragEvent(java.lang.Object source,
EventTarget target,
EventType<? extends MouseEvent> eventType) |
MouseEvent(EventType<? extends MouseEvent> eventType) |
MouseEvent(java.lang.Object source,
EventTarget target,
EventType<? extends MouseEvent> eventType) |
RotateEvent(EventType<? extends RotateEvent> eventType) |
RotateEvent(EventType<? extends RotateEvent> eventType,
double angle,
double totalAngle,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia) |
RotateEvent(java.lang.Object source,
EventTarget target,
EventType<? extends RotateEvent> eventType) |
ScrollEvent(EventType<? extends ScrollEvent> eventType) |
ScrollEvent(EventType<? extends ScrollEvent> eventType,
double deltaX,
double deltaY,
double gestureDeltaX,
double gestureDeltaY,
ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits,
double textDeltaX,
ScrollEvent.VerticalTextScrollUnits textDeltaYUnits,
double textDeltaY,
int touchCount,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia) |
ScrollEvent(java.lang.Object source,
EventTarget target,
EventType<? extends ScrollEvent> eventType) |
SwipeEvent(EventType<? extends SwipeEvent> eventType) |
SwipeEvent(EventType<? extends SwipeEvent> eventType,
int touchCount,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct) |
SwipeEvent(java.lang.Object source,
EventTarget target,
EventType<? extends SwipeEvent> eventType) |
TouchEvent(EventType<? extends TouchEvent> eventType) |
TouchEvent(EventType<? extends TouchEvent> eventType,
TouchPoint touchPoint,
java.util.List<TouchPoint> touchPoints,
int eventSetId,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown) |
ZoomEvent(EventType<? extends ZoomEvent> eventType) |
ZoomEvent(EventType<? extends ZoomEvent> eventType,
double zoomFactor,
double totalZoomFactor,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia) |
ZoomEvent(java.lang.Object source,
EventTarget target,
EventType<? extends ZoomEvent> eventType) |
Modifier and Type | Field and Description |
---|---|
static EventType<MediaErrorEvent> |
MediaErrorEvent.MEDIA_ERROR
The only valid event type for the
MediaErrorEvent . |
Modifier and Type | Field and Description |
---|---|
static EventType<WebEvent> |
WebEvent.ALERT
This event occurs when a script calls the JavaScript
alert
function. |
static EventType<WebEvent> |
WebEvent.ANY
Common supertype for all Web event types.
|
static EventType<WebEvent> |
WebEvent.RESIZED
This event occurs when a script changes location of the JavaScript
window object. |
static EventType<WebEvent> |
WebEvent.STATUS_CHANGED
This event occurs when a script changes status line text.
|
static EventType<WebEvent> |
WebEvent.VISIBILITY_CHANGED
This event occurs when a script changes visibility of the JavaScript
window object. |
Modifier and Type | Method and Description |
---|---|
private static int |
WebView.getWKDndEventType(EventType et) |
Constructor and Description |
---|
WebEvent(java.lang.Object source,
EventType<WebEvent> type,
T data)
Creates a new event object.
|
Modifier and Type | Field and Description |
---|---|
static EventType<WindowEvent> |
WindowEvent.ANY
Common supertype for all window event types.
|
static EventType<WindowEvent> |
WindowEvent.WINDOW_CLOSE_REQUEST
This event is delivered to a
window when there is an external request to close that window.
|
static EventType<WindowEvent> |
WindowEvent.WINDOW_HIDDEN
This event occurs on window just after it is hidden.
|
static EventType<WindowEvent> |
WindowEvent.WINDOW_HIDING
This event occurs on window just before it is hidden.
|
static EventType<WindowEvent> |
WindowEvent.WINDOW_SHOWING
This event occurs on window just before it is shown.
|
static EventType<WindowEvent> |
WindowEvent.WINDOW_SHOWN
This event occurs on window just after it is shown.
|
Modifier and Type | Method and Description |
---|---|
<T extends Event> |
Window.addEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Registers an event filter to this node.
|
<T extends Event> |
Window.addEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Registers an event handler to this node.
|
<T extends Event> |
Window.removeEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Unregisters a previously registered event filter from this node.
|
<T extends Event> |
Window.removeEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Unregisters a previously registered event handler from this node.
|
protected <T extends Event> |
Window.setEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Sets the handler to use for this event type.
|
Constructor and Description |
---|
WindowEvent(Window source,
EventType<? extends Event> eventType)
Construct a new
Event with the specified event source, target
and type. |
Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.