public class FXRotateSelectedOnRotatePolicy extends AbstractInteractionPolicy<javafx.scene.Node> implements IFXOnRotatePolicy
FXRotateSelectedOnRotatePolicy is an IFXOnRotatePolicy
that rotates the whole selection when its
host experiences a touch rotate gesture.adaptableadaptableIAdaptable.Bound.Impl<T extends IAdaptable>| Constructor and Description |
|---|
FXRotateSelectedOnRotatePolicy() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<IContentPart<javafx.scene.Node,? extends javafx.scene.Node>> |
determineTargetParts()
Returns a
List containing all IContentParts that should
be rotated by this policy. |
protected java.util.List<IContentPart<javafx.scene.Node,? extends javafx.scene.Node>> |
getTargetParts()
Returns the target parts of 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 |
rotationAborted()
Reaction to the unexpected finish of a rotate gesture.
|
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, init, restoreRefreshVisuals, rollback, storeAndDisableRefreshVisualsadaptableProperty, getAdaptable, getHost, setAdaptableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadaptableProperty, getAdaptable, setAdaptableprotected java.util.List<IContentPart<javafx.scene.Node,? extends javafx.scene.Node>> determineTargetParts()
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 java.util.List<IContentPart<javafx.scene.Node,? extends javafx.scene.Node>> getTargetParts()
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)
IFXOnRotatePolicyrotate in interface IFXOnRotatePolicye - The original RotateEvent.public void rotationAborted()
IFXOnRotatePolicyrotationAborted in interface IFXOnRotatePolicypublic void rotationFinished(javafx.scene.input.RotateEvent e)
IFXOnRotatePolicyrotationFinished in interface IFXOnRotatePolicye - The original RotateEvent.public void rotationStarted(javafx.scene.input.RotateEvent e)
IFXOnRotatePolicyrotationStarted in interface IFXOnRotatePolicye - The original RotateEvent.Copyright (c) 2014 itemis AG and others. All rights reserved.