Package | Description |
---|---|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
Modifier and Type | Class and Description |
---|---|
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 |
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<GestureEvent> |
GestureEvent.ANY
Common supertype for all gestures.
|
Modifier and Type | Method and Description |
---|---|
GestureEvent |
GestureEvent.copyFor(Object newSource,
EventTarget newTarget) |
Modifier and Type | Method and Description |
---|---|
EventType<? extends GestureEvent> |
GestureEvent.getEventType() |
Constructor and Description |
---|
GestureEvent(EventType<? extends GestureEvent> eventType)
Deprecated.
Do not use this constructor. Constructs empty event.
|
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,
PickResult pickResult)
Constructs new GestureEvent event with empty source and target
|
GestureEvent(Object source,
EventTarget target,
EventType<? extends GestureEvent> eventType)
Deprecated.
Do not use this constructor. Constructs empty event.
|
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.
|
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.