public abstract class AbstractFXOnPinchSpreadPolicy extends AbstractPolicy<javafx.scene.Node>
AbstractFXOnPinchSpreadPolicy
is called upon touch pinch/spreadd
events by the FXPinchSpreadTool
. You can use it as an adapter on any
IVisualPart
for which touch pinch/spread interaction is desired, and
you can also register multiple instances of
AbstractFXOnPinchSpreadPolicy
on the same IVisualPart
(with
different adapter roles).Constructor and Description |
---|
AbstractFXOnPinchSpreadPolicy() |
Modifier and Type | Method and Description |
---|---|
abstract void |
zoom(javafx.scene.input.ZoomEvent e)
Continuous reaction to pinch (close fingers) gestures.
|
abstract void |
zoomFinished(javafx.scene.input.ZoomEvent e)
Reaction to the finish of pinch (close fingers) gestures.
|
abstract void |
zoomStarted(javafx.scene.input.ZoomEvent e)
Reaction to the detection of pinch (close fingers) gestures.
|
commit, disableRefreshVisuals, enableRefreshVisuals, getAdaptable, getHost, init, setAdaptable
public abstract void zoom(javafx.scene.input.ZoomEvent e)
e
- The original ZoomEvent
.public abstract void zoomFinished(javafx.scene.input.ZoomEvent e)
e
- The original ZoomEvent
.public abstract void zoomStarted(javafx.scene.input.ZoomEvent e)
e
- The original ZoomEvent
.Copyright (c) 2014 itemis AG and others. All rights reserved.