Uses of Class
Provides the set of classes for mouse and keyboard input event handling.
Uses of InputEvent in javafx.scene.input
Subclasses of InputEvent in javafx.scene.input Modifier and Type Class Description
ContextMenuEventWhen the user requests a context menu, this event occurs.
DragEventDrag events replace mouse events during drag-and-drop gesture.
GestureEventAn event indicating gesture input.
InputMethodEventAn event which indicates that the underlying input method notifies its text change in a
KeyEventAn event which indicates that a keystroke occurred in a
MouseDragEventMouse drag events are delivered to potential gesture targets during full press-drag-release gestures.
MouseEventWhen mouse event occurs, the top-most node under cursor is picked and the event is delivered to it through capturing and bubbling phases described at
RotateEventRotate event indicates that user performed rotating gesture such as dragging two fingers around each other on track pad, touch screen or other similar device.
ScrollEventScroll event indicates that user performed scrolling by mouse wheel, track pad, touch screen or other similar device.
SwipeEventSwipe event indicates that user performed a swipe gesture such as dragging a finger in one direction on touch screen.
TouchEventTouch event indicates a touch screen action.
ZoomEventZoom event indicates that user performed zooming gesture such as dragging two fingers apart on track pad, touch screen or other similar device.
Fields in javafx.scene.input with type parameters of type InputEvent Modifier and Type Field Description
ANYCommon supertype for all input event types.
Methods in javafx.scene.input that return types with arguments of type InputEvent Modifier and Type Method Description
EventType<? extends InputEvent>
Constructor parameters in javafx.scene.input with type arguments of type InputEvent Constructor Description
InputEvent(Object source, EventTarget target, EventType<? extends InputEvent> eventType)Creates new instance of InputEvent.
InputEvent(EventType<? extends InputEvent> eventType)Creates new instance of InputEvent.