public class FXZoomOnPinchSpreadPolicy extends AbstractInteractionPolicy<javafx.scene.Node> implements IFXOnPinchSpreadPolicy
IFXOnPinchSpreadPolicy
that performs zooming.Constructor and Description |
---|
FXZoomOnPinchSpreadPolicy() |
Modifier and Type | Method and Description |
---|---|
protected FXChangeViewportPolicy |
determineViewportPolicy()
Determines the
FXChangeViewportPolicy that is used by this
policy. |
protected FXChangeViewportPolicy |
getViewportPolicy()
Returns the
FXChangeViewportPolicy that is used by this policy. |
void |
zoom(javafx.scene.input.ZoomEvent e)
Continuous reaction to pinch (close fingers) gestures.
|
void |
zoomAborted()
Reaction to the unexpected finish of a pinch gesture.
|
void |
zoomFinished(javafx.scene.input.ZoomEvent event)
Reaction to the finish of pinch (close fingers) gestures.
|
void |
zoomStarted(javafx.scene.input.ZoomEvent e)
Reaction to the detection of pinch (close fingers) gestures.
|
commit, init, restoreRefreshVisuals, rollback, storeAndDisableRefreshVisuals
getAdaptable, getHost, setAdaptable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdaptable, setAdaptable
protected FXChangeViewportPolicy determineViewportPolicy()
FXChangeViewportPolicy
that is used by this
policy.FXChangeViewportPolicy
that is used by this policy.protected FXChangeViewportPolicy getViewportPolicy()
FXChangeViewportPolicy
that is used by this policy.FXChangeViewportPolicy
that is used by this policy.public void zoom(javafx.scene.input.ZoomEvent e)
IFXOnPinchSpreadPolicy
zoom
in interface IFXOnPinchSpreadPolicy
e
- The original ZoomEvent
.public void zoomAborted()
IFXOnPinchSpreadPolicy
zoomAborted
in interface IFXOnPinchSpreadPolicy
public void zoomFinished(javafx.scene.input.ZoomEvent event)
IFXOnPinchSpreadPolicy
zoomFinished
in interface IFXOnPinchSpreadPolicy
event
- The original ZoomEvent
.public void zoomStarted(javafx.scene.input.ZoomEvent e)
IFXOnPinchSpreadPolicy
zoomStarted
in interface IFXOnPinchSpreadPolicy
e
- The original ZoomEvent
.Copyright (c) 2014 itemis AG and others. All rights reserved.