Package | Description |
---|---|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
Modifier and Type | Class and 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 a
Node . |
class |
KeyEvent
An event which indicates that a keystroke occurred in a
Node . |
class |
MouseDragEvent
Mouse drag events are delivered to potential gesture targets during
full press-drag-release gestures.
|
class |
MouseEvent
When 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
EventDispatcher . |
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.
|
Modifier and Type | Field and Description |
---|---|
static EventType<InputEvent> |
InputEvent.ANY
Common supertype for all input event types.
|
Modifier and Type | Method and Description |
---|---|
EventType<? extends InputEvent> |
InputEvent.getEventType() |
Constructor and Description |
---|
InputEvent(EventType<? extends InputEvent> eventType)
Creates new instance of InputEvent.
|
InputEvent(Object source,
EventTarget target,
EventType<? extends InputEvent> eventType)
Creates new instance of InputEvent.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.