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 TouchEvent> |
Node.getOnTouchMoved()
Gets the value of the property onTouchMoved.
|
EventHandler<? super TouchEvent> |
Scene.getOnTouchMoved()
Gets the value of the property onTouchMoved.
|
EventHandler<? super TouchEvent> |
Node.getOnTouchPressed()
Gets the value of the property onTouchPressed.
|
EventHandler<? super TouchEvent> |
Scene.getOnTouchPressed()
Gets the value of the property onTouchPressed.
|
EventHandler<? super TouchEvent> |
Node.getOnTouchReleased()
Gets the value of the property onTouchReleased.
|
EventHandler<? super TouchEvent> |
Scene.getOnTouchReleased()
Gets the value of the property onTouchReleased.
|
EventHandler<? super TouchEvent> |
Node.getOnTouchStationary()
Gets the value of the property onTouchStationary.
|
EventHandler<? super TouchEvent> |
Scene.getOnTouchStationary()
Gets the value of the property onTouchStationary.
|
ObjectProperty<EventHandler<? super TouchEvent>> |
Node.onTouchMovedProperty()
Defines a function to be called when a touch point is moved.
|
ObjectProperty<EventHandler<? super TouchEvent>> |
Scene.onTouchMovedProperty()
Defines a function to be called when a touch point is moved.
|
ObjectProperty<EventHandler<? super TouchEvent>> |
Node.onTouchPressedProperty()
Defines a function to be called when a new touch point is pressed.
|
ObjectProperty<EventHandler<? super TouchEvent>> |
Scene.onTouchPressedProperty()
Defines a function to be called when a new touch point is pressed.
|
ObjectProperty<EventHandler<? super TouchEvent>> |
Node.onTouchReleasedProperty()
Defines a function to be called when a touch point is released.
|
ObjectProperty<EventHandler<? super TouchEvent>> |
Scene.onTouchReleasedProperty()
Defines a function to be called when a new touch point is pressed.
|
ObjectProperty<EventHandler<? super TouchEvent>> |
Node.onTouchStationaryProperty()
Defines a function to be called when a touch point stays pressed and
still.
|
ObjectProperty<EventHandler<? super TouchEvent>> |
Scene.onTouchStationaryProperty()
Defines a function to be called when a touch point stays pressed and
still.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.setOnTouchMoved(EventHandler<? super TouchEvent> value)
Sets the value of the property onTouchMoved.
|
void |
Scene.setOnTouchMoved(EventHandler<? super TouchEvent> value)
Sets the value of the property onTouchMoved.
|
void |
Node.setOnTouchPressed(EventHandler<? super TouchEvent> value)
Sets the value of the property onTouchPressed.
|
void |
Scene.setOnTouchPressed(EventHandler<? super TouchEvent> value)
Sets the value of the property onTouchPressed.
|
void |
Node.setOnTouchReleased(EventHandler<? super TouchEvent> value)
Sets the value of the property onTouchReleased.
|
void |
Scene.setOnTouchReleased(EventHandler<? super TouchEvent> value)
Sets the value of the property onTouchReleased.
|
void |
Node.setOnTouchStationary(EventHandler<? super TouchEvent> value)
Sets the value of the property onTouchStationary.
|
void |
Scene.setOnTouchStationary(EventHandler<? super TouchEvent> value)
Sets the value of the property onTouchStationary.
|
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.
|
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.