Package | Description |
---|---|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
Modifier and Type | Method and Description |
---|---|
EventHandler<? super SwipeEvent> |
Node.getOnSwipeDown()
Gets the value of the property onSwipeDown.
|
EventHandler<? super SwipeEvent> |
Scene.getOnSwipeDown()
Gets the value of the property onSwipeDown.
|
EventHandler<? super SwipeEvent> |
Node.getOnSwipeLeft()
Gets the value of the property onSwipeLeft.
|
EventHandler<? super SwipeEvent> |
Scene.getOnSwipeLeft()
Gets the value of the property onSwipeLeft.
|
EventHandler<? super SwipeEvent> |
Node.getOnSwipeRight()
Gets the value of the property onSwipeRight.
|
EventHandler<? super SwipeEvent> |
Scene.getOnSwipeRight()
Gets the value of the property onSwipeRight.
|
EventHandler<? super SwipeEvent> |
Node.getOnSwipeUp()
Gets the value of the property onSwipeUp.
|
EventHandler<? super SwipeEvent> |
Scene.getOnSwipeUp()
Gets the value of the property onSwipeUp.
|
ObjectProperty<EventHandler<? super SwipeEvent>> |
Node.onSwipeDownProperty()
Defines a function to be called when a downward swipe gesture
centered over this node happens.
|
ObjectProperty<EventHandler<? super SwipeEvent>> |
Scene.onSwipeDownProperty()
Defines a function to be called when an downward swipe gesture
happens in this scene.
|
ObjectProperty<EventHandler<? super SwipeEvent>> |
Node.onSwipeLeftProperty()
Defines a function to be called when a leftward swipe gesture
centered over this node happens.
|
ObjectProperty<EventHandler<? super SwipeEvent>> |
Scene.onSwipeLeftProperty()
Defines a function to be called when an leftward swipe gesture
happens in this scene.
|
ObjectProperty<EventHandler<? super SwipeEvent>> |
Node.onSwipeRightProperty()
Defines a function to be called when an rightward swipe gesture
centered over this node happens.
|
ObjectProperty<EventHandler<? super SwipeEvent>> |
Scene.onSwipeRightProperty()
Defines a function to be called when an rightward swipe gesture
happens in this scene.
|
ObjectProperty<EventHandler<? super SwipeEvent>> |
Node.onSwipeUpProperty()
Defines a function to be called when an upward swipe gesture
centered over this node happens.
|
ObjectProperty<EventHandler<? super SwipeEvent>> |
Scene.onSwipeUpProperty()
Defines a function to be called when an upward swipe gesture
happens in this scene.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.setOnSwipeDown(EventHandler<? super SwipeEvent> value)
Sets the value of the property onSwipeDown.
|
void |
Scene.setOnSwipeDown(EventHandler<? super SwipeEvent> value)
Sets the value of the property onSwipeDown.
|
void |
Node.setOnSwipeLeft(EventHandler<? super SwipeEvent> value)
Sets the value of the property onSwipeLeft.
|
void |
Scene.setOnSwipeLeft(EventHandler<? super SwipeEvent> value)
Sets the value of the property onSwipeLeft.
|
void |
Node.setOnSwipeRight(EventHandler<? super SwipeEvent> value)
Sets the value of the property onSwipeRight.
|
void |
Scene.setOnSwipeRight(EventHandler<? super SwipeEvent> value)
Sets the value of the property onSwipeRight.
|
void |
Node.setOnSwipeUp(EventHandler<? super SwipeEvent> value)
Sets the value of the property onSwipeUp.
|
void |
Scene.setOnSwipeUp(EventHandler<? super SwipeEvent> value)
Sets the value of the property onSwipeUp.
|
Modifier and Type | Field and Description |
---|---|
static EventType<SwipeEvent> |
SwipeEvent.ANY
Common supertype for all swipe event types.
|
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.
|
Modifier and Type | Method and Description |
---|---|
SwipeEvent |
SwipeEvent.copyFor(Object newSource,
EventTarget newTarget) |
SwipeEvent |
SwipeEvent.copyFor(Object newSource,
EventTarget newTarget,
EventType<SwipeEvent> type)
Creates a copy of the given event with the given fields substituted.
|
Modifier and Type | Method and Description |
---|---|
EventType<SwipeEvent> |
SwipeEvent.getEventType() |
Modifier and Type | Method and Description |
---|---|
SwipeEvent |
SwipeEvent.copyFor(Object newSource,
EventTarget newTarget,
EventType<SwipeEvent> type)
Creates a copy of the given event with the given fields substituted.
|
Constructor and Description |
---|
SwipeEvent(EventType<SwipeEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
int touchCount,
PickResult pickResult)
Constructs new SwipeEvent event with null source and target.
|
SwipeEvent(Object source,
EventTarget target,
EventType<SwipeEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
int touchCount,
PickResult pickResult)
Constructs new SwipeEvent 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.