public class FXRotateSelectedOnRotatePolicy extends AbstractFXOnRotatePolicy
FXRotateSelectedOnRotatePolicy is an
AbstractFXOnRotatePolicy that rotates the whole selection when its host experiences a touch rotate
gesture.| Constructor and Description |
|---|
FXRotateSelectedOnRotatePolicy() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<IContentPart<javafx.scene.Node,? extends javafx.scene.Node>> |
getTargetParts()
Returns a
List containing all IContentParts that should
be rotated by this policy. |
protected FXTransformPolicy |
getTransformPolicy(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> part)
Returns the
FXTransformPolicy that is installed on the given
IVisualPart. |
void |
rotate(javafx.scene.input.RotateEvent e)
Continuous reaction to rotation gestures.
|
void |
rotationFinished(javafx.scene.input.RotateEvent e)
Reaction to the finish of rotate gestures.
|
void |
rotationStarted(javafx.scene.input.RotateEvent e)
Reaction to the detection of rotate gestures.
|
commit, disableRefreshVisuals, enableRefreshVisuals, getAdaptable, getHost, init, setAdaptableprotected java.util.List<IContentPart<javafx.scene.Node,? extends javafx.scene.Node>> getTargetParts()
List containing all IContentParts that should
be rotated by this policy. Per default, the whole selection is returned.List containing all IContentParts that should
be rotated by this policy.protected FXTransformPolicy getTransformPolicy(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> part)
FXTransformPolicy that is installed on the given
IVisualPart.part - The IVisualPart of which the FXTransformPolicy
is returned.FXTransformPolicy that is installed on the given
IVisualPart.public void rotate(javafx.scene.input.RotateEvent e)
AbstractFXOnRotatePolicyrotate in class AbstractFXOnRotatePolicye - The original RotateEvent.public void rotationFinished(javafx.scene.input.RotateEvent e)
AbstractFXOnRotatePolicyrotationFinished in class AbstractFXOnRotatePolicye - The original RotateEvent.public void rotationStarted(javafx.scene.input.RotateEvent e)
AbstractFXOnRotatePolicyrotationStarted in class AbstractFXOnRotatePolicye - The original RotateEvent.Copyright (c) 2014 itemis AG and others. All rights reserved.