Uses of Class
javafx.scene.input.ScrollEvent
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.
|
-
Uses of ScrollEvent in javafx.scene
Methods in javafx.scene that return types with arguments of type ScrollEvent Modifier and Type Method 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.Method parameters in javafx.scene with type arguments of type ScrollEvent Modifier and Type Method 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. -
Uses of ScrollEvent in javafx.scene.input
Fields in javafx.scene.input with type parameters of type ScrollEvent Modifier and Type Field 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.Methods in javafx.scene.input that return ScrollEvent Modifier and Type Method 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.Methods in javafx.scene.input that return types with arguments of type ScrollEvent Modifier and Type Method Description EventType<ScrollEvent>
ScrollEvent. getEventType()
Method parameters in javafx.scene.input with type arguments of type ScrollEvent Modifier and Type Method Description ScrollEvent
ScrollEvent. copyFor(Object newSource, EventTarget newTarget, EventType<ScrollEvent> type)
Creates a copy of the given event with the given fields substituted.Constructor parameters in javafx.scene.input with type arguments of type ScrollEvent Constructor Description 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.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 targetScrollEvent(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