public abstract class AbstractFXOnScrollPolicy extends AbstractPolicy<javafx.scene.Node>
AbstractFXOnScrollPolicy
is called upon mouse scroll events by the
FXScrollTool
. You can use it as an adapter on any IVisualPart
for which mouse scroll interaction is desired, and you can also register
multiple instances of AbstractFXOnScrollPolicy
on the same
IVisualPart
(with different adapter roles).Constructor and Description |
---|
AbstractFXOnScrollPolicy() |
Modifier and Type | Method and Description |
---|---|
abstract void |
scroll(javafx.scene.input.ScrollEvent event)
This callback method is invoked when the user performs mouse scrolling
over the
host . |
commit, disableRefreshVisuals, enableRefreshVisuals, getAdaptable, getHost, init, setAdaptable
public abstract void scroll(javafx.scene.input.ScrollEvent event)
host
.event
- The original ScrollEvent
.Copyright (c) 2014 itemis AG and others. All rights reserved.