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 ScrollEvent> |
Node.getOnScroll()
Gets the value of the property onScroll.
|
EventHandler<? super ScrollEvent> |
Scene.getOnScroll()
Gets the value of the property onScroll.
|
EventHandler<? super ScrollEvent> |
Node.getOnScrollFinished()
Gets the value of the property onScrollFinished.
|
EventHandler<? super ScrollEvent> |
Scene.getOnScrollFinished()
Gets the value of the property onScrollFinished.
|
EventHandler<? super ScrollEvent> |
Node.getOnScrollStarted()
Gets the value of the property onScrollStarted.
|
EventHandler<? super ScrollEvent> |
Scene.getOnScrollStarted()
Gets the value of the property onScrollStarted.
|
ObjectProperty<EventHandler<? super ScrollEvent>> |
Node.onScrollFinishedProperty()
Defines a function to be called when a scrolling gesture ends.
|
ObjectProperty<EventHandler<? super ScrollEvent>> |
Scene.onScrollFinishedProperty()
Defines a function to be called when a scrolling gesture ends.
|
ObjectProperty<EventHandler<? super ScrollEvent>> |
Node.onScrollProperty()
Defines a function to be called when user performs a scrolling action.
|
ObjectProperty<EventHandler<? super ScrollEvent>> |
Scene.onScrollProperty()
Defines a function to be called when user performs a scrolling action.
|
ObjectProperty<EventHandler<? super ScrollEvent>> |
Node.onScrollStartedProperty()
Defines a function to be called when a scrolling gesture is detected.
|
ObjectProperty<EventHandler<? super ScrollEvent>> |
Scene.onScrollStartedProperty()
Defines a function to be called when a scrolling gesture is detected.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.setOnScroll(EventHandler<? super ScrollEvent> value)
Sets the value of the property onScroll.
|
void |
Scene.setOnScroll(EventHandler<? super ScrollEvent> value)
Sets the value of the property onScroll.
|
void |
Node.setOnScrollFinished(EventHandler<? super ScrollEvent> value)
Sets the value of the property onScrollFinished.
|
void |
Scene.setOnScrollFinished(EventHandler<? super ScrollEvent> value)
Sets the value of the property onScrollFinished.
|
void |
Node.setOnScrollStarted(EventHandler<? super ScrollEvent> value)
Sets the value of the property onScrollStarted.
|
void |
Scene.setOnScrollStarted(EventHandler<? super ScrollEvent> value)
Sets the value of the property onScrollStarted.
|
Modifier and Type | Field and Description |
---|---|
static EventType<ScrollEvent> |
ScrollEvent.ANY
Common supertype for all scroll event types.
|
static EventType<ScrollEvent> |
ScrollEvent.SCROLL
This event occurs when user performs a scrolling action such as
rotating mouse wheel or dragging a finger over touch screen.
|
static EventType<ScrollEvent> |
ScrollEvent.SCROLL_FINISHED
This event occurs when a scrolling gesture ends.
|
static EventType<ScrollEvent> |
ScrollEvent.SCROLL_STARTED
This event occurs when a scrolling gesture is detected.
|
Modifier and Type | Method and Description |
---|---|
ScrollEvent |
ScrollEvent.copyFor(Object newSource,
EventTarget newTarget) |
ScrollEvent |
ScrollEvent.copyFor(Object newSource,
EventTarget newTarget,
EventType<ScrollEvent> type)
Creates a copy of the given event with the given fields substituted.
|
Modifier and Type | Method and Description |
---|---|
EventType<ScrollEvent> |
ScrollEvent.getEventType() |
Modifier and Type | Method and Description |
---|---|
ScrollEvent |
ScrollEvent.copyFor(Object newSource,
EventTarget newTarget,
EventType<ScrollEvent> type)
Creates a copy of the given event with the given fields substituted.
|
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.
|
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.