Package | Description |
---|---|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
Modifier and Type | Method and Description |
---|---|
ScrollEvent.VerticalTextScrollUnits |
ScrollEvent.getTextDeltaYUnits()
Gets the vertical scrolling units for text-based scrolling.
|
static ScrollEvent.VerticalTextScrollUnits |
ScrollEvent.VerticalTextScrollUnits.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScrollEvent.VerticalTextScrollUnits[] |
ScrollEvent.VerticalTextScrollUnits.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
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.
|
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.