public class TransformNodePolicy extends FXTransformPolicy
TransformNodePolicy is a specialization of the
FXTransformPolicy that chains a ChangeAttributeOperation to
affect the underlying model when transforming nodes. It is applicable to
IContentPart with Node visual and Node
content.TRANSFORM_PROVIDER_KEY| Constructor and Description |
|---|
TransformNodePolicy() |
| Modifier and Type | Method and Description |
|---|---|
ITransactionalOperation |
commit() |
IContentPart<javafx.scene.Node,? extends javafx.scene.Node> |
getHost() |
protected Node |
getNode()
Returns the
Node content element of the host part. |
createOperation, getCurrentNodeTransform, getTransformOperation, updateOperationapplyTransform, createPostTransform, createPreTransform, getInitialNodeTransform, getSnapToGridOffset, init, setPostRotate, setPostScale, setPostTransform, setPostTranslate, setPreRotate, setPreScale, setPreTransform, setPreTranslate, setTransform, updateTransformcheckInitialized, getOperation, isInitialized, locallyExecuteOperation, rollbackgetAdaptable, setAdaptablepublic ITransactionalOperation commit()
commit in class AbstractTransformPolicy<javafx.scene.Node>public IContentPart<javafx.scene.Node,? extends javafx.scene.Node> getHost()
getHost in interface IPolicy<javafx.scene.Node>getHost in class AbstractPolicy<javafx.scene.Node>Copyright (c) 2014 itemis AG and others. All rights reserved.