Uses of Class
javafx.scene.input.InputEvent
Package | Description |
---|---|
javafx.scene.input |
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 class
ContextMenuEvent
When the user requests a context menu, this event occurs.class
DragEvent
Drag events replace mouse events during drag-and-drop gesture.class
GestureEvent
An event indicating gesture input.class
InputMethodEvent
An event which indicates that the underlying input method notifies its text change in aNode
.class
KeyEvent
An event which indicates that a keystroke occurred in aNode
.class
MouseDragEvent
Mouse drag events are delivered to potential gesture targets during full press-drag-release gestures.class
MouseEvent
When a mouse event occurs, the top-most node under cursor is picked and the event is delivered to it through capturing and bubbling phases described atEventDispatcher
.class
RotateEvent
Rotate event indicates that user performed rotating gesture such as dragging two fingers around each other on track pad, touch screen or other similar device.class
ScrollEvent
Scroll event indicates that user performed scrolling by mouse wheel, track pad, touch screen or other similar device.class
SwipeEvent
Swipe event indicates that user performed a swipe gesture such as dragging a finger in one direction on touch screen.class
TouchEvent
Touch event indicates a touch screen action.class
ZoomEvent
Zoom 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 static EventType<InputEvent>
InputEvent. ANY
Common 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>
InputEvent. getEventType()
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.