Package | Description |
---|---|
com.sun.javafx.scene.input | |
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 |
---|---|
PickResult |
PickResultChooser.toPickResult()
Converts the current content of this instance to the unmodifiable
PickResult.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PickResultChooser.offerSubScenePickResult(SubScene subScene,
PickResult pickResult,
double distance)
Offers an intersection found inside a SubScene.
|
static Point3D |
InputEventUtils.recomputeCoordinates(PickResult result,
java.lang.Object newSource)
Recomputes event coordinates for a different node.
|
Modifier and Type | Field and Description |
---|---|
private PickResult |
Scene.TargetWrapper.result |
Modifier and Type | Method and Description |
---|---|
PickResult |
Scene.TargetWrapper.getResult() |
private PickResult |
Scene.pick(double x,
double y) |
private PickResult |
Scene.MouseHandler.pickNode(PickRay pickRay) |
private PickResult |
SubScene.pickRootSG(double localX,
double localY) |
Modifier and Type | Method and Description |
---|---|
void |
Scene.TargetWrapper.setNodeResult(PickResult result) |
void |
Scene.TargetWrapper.setSceneResult(PickResult result,
Scene scene) |
Modifier and Type | Field and Description |
---|---|
private PickResult |
MouseEvent.pickResult
Information about the pick if the picked
Node is a
Shape3D node and its pickOnBounds is false. |
private PickResult |
TouchPoint.pickResult
Information about the pick if the picked
Node is a
Shape3D node and its pickOnBounds is false. |
private PickResult |
DragEvent.pickResult
Information about the pick if the picked
Node is a
Shape3D node and its pickOnBounds is false. |
private PickResult |
GestureEvent.pickResult
Information about the pick if the picked
Node is a
Shape3D node and its pickOnBounds is false. |
private PickResult |
ContextMenuEvent.pickResult
Information about the pick if the picked
Node is a
Shape3D node and its pickOnBounds is false. |
Modifier and Type | Method and Description |
---|---|
PickResult |
MouseEvent.getPickResult()
Returns information about the pick.
|
PickResult |
TouchPoint.getPickResult()
Returns information about the pick.
|
PickResult |
DragEvent.getPickResult()
Returns information about the pick.
|
PickResult |
GestureEvent.getPickResult()
Returns information about the pick.
|
PickResult |
ContextMenuEvent.getPickResult()
Returns information about the pick.
|
Modifier and Type | Method and Description |
---|---|
static MouseDragEvent |
MouseEvent.copyForMouseDragEvent(MouseEvent e,
java.lang.Object source,
EventTarget target,
EventType<MouseDragEvent> type,
java.lang.Object gestureSource,
PickResult pickResult)
Creates a copy of this mouse event of MouseDragEvent type
|
Constructor and Description |
---|
ContextMenuEvent(EventType<ContextMenuEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean keyboardTrigger,
PickResult pickResult)
Constructs new ContextMenu event with empty source and target.
|
ContextMenuEvent(java.lang.Object source,
EventTarget target,
EventType<ContextMenuEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean keyboardTrigger,
PickResult pickResult)
Constructs new ContextMenu event.
|
DragEvent(EventType<DragEvent> eventType,
Dragboard dragboard,
double x,
double y,
double screenX,
double screenY,
TransferMode transferMode,
java.lang.Object gestureSource,
java.lang.Object gestureTarget,
PickResult pickResult)
Constructs new DragEvent event with empty source and target.
|
DragEvent(java.lang.Object source,
EventTarget target,
EventType<DragEvent> eventType,
Dragboard dragboard,
double x,
double y,
double screenX,
double screenY,
TransferMode transferMode,
java.lang.Object gestureSource,
java.lang.Object gestureTarget,
PickResult pickResult)
Constructs new DragEvent 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(java.lang.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.
|
MouseDragEvent(EventType<MouseDragEvent> eventType,
double x,
double y,
double screenX,
double screenY,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean primaryButtonDown,
boolean middleButtonDown,
boolean secondaryButtonDown,
boolean synthesized,
boolean popupTrigger,
PickResult pickResult,
java.lang.Object gestureSource)
Constructs new MouseDragEvent event with null source and target.
|
MouseDragEvent(java.lang.Object source,
EventTarget target,
EventType<MouseDragEvent> eventType,
double x,
double y,
double screenX,
double screenY,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean primaryButtonDown,
boolean middleButtonDown,
boolean secondaryButtonDown,
boolean synthesized,
boolean popupTrigger,
PickResult pickResult,
java.lang.Object gestureSource)
Constructs new MouseDragEvent event.
|
MouseEvent(EventType<? extends MouseEvent> eventType,
double x,
double y,
double screenX,
double screenY,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean primaryButtonDown,
boolean middleButtonDown,
boolean secondaryButtonDown,
boolean synthesized,
boolean popupTrigger,
boolean stillSincePress,
PickResult pickResult)
Constructs new MouseEvent event with null source and target.
|
MouseEvent(java.lang.Object source,
EventTarget target,
EventType<? extends MouseEvent> eventType,
double x,
double y,
double screenX,
double screenY,
MouseButton button,
int clickCount,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean primaryButtonDown,
boolean middleButtonDown,
boolean secondaryButtonDown,
boolean synthesized,
boolean popupTrigger,
boolean stillSincePress,
PickResult pickResult)
Constructs new MouseEvent event.
|
RotateEvent(EventType<RotateEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia,
double angle,
double totalAngle,
PickResult pickResult)
Constructs new RotateEvent event with null source and target
|
RotateEvent(java.lang.Object source,
EventTarget target,
EventType<RotateEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia,
double angle,
double totalAngle,
PickResult pickResult)
Constructs new RotateEvent event.
|
ScrollEvent(EventType<ScrollEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia,
double deltaX,
double deltaY,
double totalDeltaX,
double totalDeltaY,
double multiplierX,
double multiplierY,
ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits,
double textDeltaX,
ScrollEvent.VerticalTextScrollUnits textDeltaYUnits,
double textDeltaY,
int touchCount,
PickResult pickResult)
Constructs new ScrollEvent event with null source and target
|
ScrollEvent(EventType<ScrollEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia,
double deltaX,
double deltaY,
double totalDeltaX,
double totalDeltaY,
ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits,
double textDeltaX,
ScrollEvent.VerticalTextScrollUnits textDeltaYUnits,
double textDeltaY,
int touchCount,
PickResult pickResult)
Constructs new ScrollEvent event with null source and target
|
ScrollEvent(java.lang.Object source,
EventTarget target,
EventType<ScrollEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia,
double deltaX,
double deltaY,
double totalDeltaX,
double totalDeltaY,
double multiplierX,
double multiplierY,
ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits,
double textDeltaX,
ScrollEvent.VerticalTextScrollUnits textDeltaYUnits,
double textDeltaY,
int touchCount,
PickResult pickResult) |
ScrollEvent(java.lang.Object source,
EventTarget target,
EventType<ScrollEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia,
double deltaX,
double deltaY,
double totalDeltaX,
double totalDeltaY,
ScrollEvent.HorizontalTextScrollUnits textDeltaXUnits,
double textDeltaX,
ScrollEvent.VerticalTextScrollUnits textDeltaYUnits,
double textDeltaY,
int touchCount,
PickResult pickResult)
Constructs new ScrollEvent event.
|
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(java.lang.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.
|
TouchPoint(int id,
TouchPoint.State state,
double x,
double y,
double screenX,
double screenY,
EventTarget target,
PickResult pickResult)
Creates new instance of TouchPoint.
|
ZoomEvent(EventType<ZoomEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia,
double zoomFactor,
double totalZoomFactor,
PickResult pickResult)
Constructs new ZoomEvent event with null source and target.
|
ZoomEvent(java.lang.Object source,
EventTarget target,
EventType<ZoomEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia,
double zoomFactor,
double totalZoomFactor,
PickResult pickResult)
Constructs new ZoomEvent event.
|