Package | Description |
---|---|
com.sun.javafx.scene | |
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 TouchEvent> |
EventHandlerProperties.getOnTouchMoved() |
EventHandler<? super TouchEvent> |
EventHandlerProperties.getOnTouchPressed() |
EventHandler<? super TouchEvent> |
EventHandlerProperties.getOnTouchReleased() |
EventHandler<? super TouchEvent> |
EventHandlerProperties.getOnTouchStationary() |
ObjectProperty<EventHandler<? super TouchEvent>> |
EventHandlerProperties.onTouchMovedProperty() |
ObjectProperty<EventHandler<? super TouchEvent>> |
EventHandlerProperties.onTouchPressedProperty() |
ObjectProperty<EventHandler<? super TouchEvent>> |
EventHandlerProperties.onTouchReleasedProperty() |
ObjectProperty<EventHandler<? super TouchEvent>> |
EventHandlerProperties.onTouchStationaryProperty() |
Modifier and Type | Method and Description |
---|---|
B |
SceneBuilder.onTouchMoved(EventHandler<? super TouchEvent> x)
Deprecated.
Set the value of the
onTouchMoved property for the instance constructed by this builder. |
B |
NodeBuilder.onTouchMoved(EventHandler<? super TouchEvent> x)
Deprecated.
Set the value of the
onTouchMoved property for the instance constructed by this builder. |
B |
SceneBuilder.onTouchPressed(EventHandler<? super TouchEvent> x)
Deprecated.
Set the value of the
onTouchPressed property for the instance constructed by this builder. |
B |
NodeBuilder.onTouchPressed(EventHandler<? super TouchEvent> x)
Deprecated.
Set the value of the
onTouchPressed property for the instance constructed by this builder. |
B |
SceneBuilder.onTouchReleased(EventHandler<? super TouchEvent> x)
Deprecated.
Set the value of the
onTouchReleased property for the instance constructed by this builder. |
B |
NodeBuilder.onTouchReleased(EventHandler<? super TouchEvent> x)
Deprecated.
Set the value of the
onTouchReleased property for the instance constructed by this builder. |
B |
SceneBuilder.onTouchStationary(EventHandler<? super TouchEvent> x)
Deprecated.
Set the value of the
onTouchStationary property for the instance constructed by this builder. |
B |
NodeBuilder.onTouchStationary(EventHandler<? super TouchEvent> x)
Deprecated.
Set the value of the
onTouchStationary property for the instance constructed by this builder. |
void |
Scene.setOnTouchMoved(EventHandler<? super TouchEvent> value) |
void |
Node.setOnTouchMoved(EventHandler<? super TouchEvent> value) |
void |
Scene.setOnTouchPressed(EventHandler<? super TouchEvent> value) |
void |
Node.setOnTouchPressed(EventHandler<? super TouchEvent> value) |
void |
Scene.setOnTouchReleased(EventHandler<? super TouchEvent> value) |
void |
Node.setOnTouchReleased(EventHandler<? super TouchEvent> value) |
void |
Scene.setOnTouchStationary(EventHandler<? super TouchEvent> value) |
void |
Node.setOnTouchStationary(EventHandler<? super TouchEvent> value) |
Modifier and Type | Field and Description |
---|---|
static EventType<TouchEvent> |
TouchEvent.ANY
Common supertype for all touch event types.
|
static EventType<TouchEvent> |
TouchEvent.TOUCH_MOVED
This event occurs when the touch point is moved.
|
static EventType<TouchEvent> |
TouchEvent.TOUCH_PRESSED
This event occurs when the touch point is pressed (touched for the
first time).
|
static EventType<TouchEvent> |
TouchEvent.TOUCH_RELEASED
This event occurs when the touch point is released.
|
static EventType<TouchEvent> |
TouchEvent.TOUCH_STATIONARY
This event occurs when the touch point is pressed and still (doesn't
move).
|
Modifier and Type | Method and Description |
---|---|
TouchEvent |
TouchEvent.copyFor(Object newSource,
EventTarget newTarget) |
TouchEvent |
TouchEvent.copyFor(Object newSource,
EventTarget newTarget,
EventType<TouchEvent> type)
Creates a copy of the given event with the given fields substituted.
|
Modifier and Type | Method and Description |
---|---|
EventType<TouchEvent> |
TouchEvent.getEventType() |
Modifier and Type | Method and Description |
---|---|
TouchEvent |
TouchEvent.copyFor(Object newSource,
EventTarget newTarget,
EventType<TouchEvent> type)
Creates a copy of the given event with the given fields substituted.
|
Constructor and Description |
---|
TouchEvent(EventType<TouchEvent> eventType,
TouchPoint touchPoint,
List<TouchPoint> touchPoints,
int eventSetId,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown)
Constructs new TouchEvent event with null source and target.
|
TouchEvent(Object source,
EventTarget target,
EventType<TouchEvent> eventType,
TouchPoint touchPoint,
List<TouchPoint> touchPoints,
int eventSetId,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown)
Constructs new TouchEvent event.
|
Copyright © 2020. All rights reserved.