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