public abstract class FXPinchSpreadGesture
extends java.lang.Object
zoomStarted(ZoomEvent)
, zoom(ZoomEvent)
, and
zoomFinished(ZoomEvent)
methods.Constructor and Description |
---|
FXPinchSpreadGesture() |
Modifier and Type | Method and Description |
---|---|
void |
setScene(javafx.scene.Scene scene)
Sets the
Scene for this gesture to the given value. |
protected abstract void |
zoom(javafx.scene.input.ZoomEvent event)
Called upon
ZoomEvent.ZOOM events. |
protected abstract void |
zoomFinished(javafx.scene.input.ZoomEvent event)
Called upon
ZoomEvent.ZOOM_FINISHED events. |
protected abstract void |
zoomStarted(javafx.scene.input.ZoomEvent event)
Called upon
ZoomEvent.ZOOM_STARTED events. |
public void setScene(javafx.scene.Scene scene)
Scene
for this gesture to the given value. Unregisters
previously registered event listeners and registers event listeners for
this gesture on the new Scene
when the given Scene
is not
null
.scene
- The new Scene
for this gesture.protected abstract void zoom(javafx.scene.input.ZoomEvent event)
ZoomEvent.ZOOM
events.event
- The corresponding ZoomEvent
.protected abstract void zoomFinished(javafx.scene.input.ZoomEvent event)
ZoomEvent.ZOOM_FINISHED
events.event
- The corresponding ZoomEvent
.protected abstract void zoomStarted(javafx.scene.input.ZoomEvent event)
ZoomEvent.ZOOM_STARTED
events.event
- The corresponding ZoomEvent
.Copyright (c) 2014 itemis AG and others. All rights reserved.