public interface IFXOnScrollPolicy extends IPolicy<javafx.scene.Node>
IFXOnScrollPolicy
interface
will be notified about scroll events (mouse wheel or touch) by the
FXScrollTool
.adaptable
IAdaptable.Bound.Impl<T extends IAdaptable>
Modifier and Type | Method and Description |
---|---|
void |
scroll(javafx.scene.input.ScrollEvent event)
This callback method is invoked when the user performs mouse scrolling
over the host.
|
void |
scrollAborted()
This callback method is invoked when a scroll gesture ends unexpectedly.
|
void |
scrollFinished()
This callback method is invoked when the user stopped to perform mouse
scrolling over the host.
|
void |
scrollStarted(javafx.scene.input.ScrollEvent event)
This callback method is invoked when the user starts to perform mouse
scrolling over the host.
|
adaptableProperty, getAdaptable, setAdaptable
void scroll(javafx.scene.input.ScrollEvent event)
event
- The original ScrollEvent
.void scrollAborted()
void scrollFinished()
void scrollStarted(javafx.scene.input.ScrollEvent event)
event
- The original ScrollEvent
.Copyright (c) 2014 itemis AG and others. All rights reserved.