Package | Description |
---|---|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
Modifier and Type | Method and Description |
---|---|
PickResult |
ContextMenuEvent.getPickResult()
Returns information about the pick.
|
PickResult |
DragEvent.getPickResult()
Returns information about the pick.
|
PickResult |
GestureEvent.getPickResult()
Returns information about the pick.
|
PickResult |
MouseEvent.getPickResult()
Returns information about the pick.
|
PickResult |
TouchPoint.getPickResult()
Returns information about the pick.
|
Modifier and Type | Method and Description |
---|---|
static MouseDragEvent |
MouseEvent.copyForMouseDragEvent(MouseEvent e,
Object source,
EventTarget target,
EventType<MouseDragEvent> type,
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(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,
Object gestureSource,
Object gestureTarget,
PickResult pickResult)
Constructs new DragEvent event with empty source and target.
|
DragEvent(Object source,
EventTarget target,
EventType<DragEvent> eventType,
Dragboard dragboard,
double x,
double y,
double screenX,
double screenY,
TransferMode transferMode,
Object gestureSource,
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(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,
Object gestureSource)
Constructs new MouseDragEvent event with null source and target.
|
MouseDragEvent(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,
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(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(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(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(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(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.
|
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.