public class TransformLabelPolicy extends FXTransformPolicy
TransformLabelPolicy 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.adaptableIAdaptable.Bound.Impl<T extends IAdaptable>TRANSFORM_PROVIDER_KEY| Constructor and Description |
|---|
TransformLabelPolicy() |
| Modifier and Type | Method and Description |
|---|---|
AbstractLabelPart |
getHost() |
void |
init() |
protected boolean |
preserveLabelOffset()
Enforce that label is preserved at its respective relative location.
|
createOperation, getCurrentTransform, updateTransformOperationapplyTransform, commit, createPostTransform, createPreTransform, createTransformContentOperation, getInitialTransform, getSnapToGridOffset, isContentTransformable, setPostRotate, setPostScale, setPostTransform, setPostTranslate, setPreRotate, setPreScale, setPreTransform, setPreTranslate, setTransform, updateTransformcheckInitialized, getOperation, isInitialized, locallyExecuteOperation, rollbackadaptableProperty, getAdaptable, setAdaptablepublic AbstractLabelPart getHost()
getHost in interface IPolicy<javafx.scene.Node>getHost in class AbstractPolicy<javafx.scene.Node>public void init()
init in class AbstractTransformPolicy<javafx.scene.Node>protected boolean preserveLabelOffset()
Copyright (c) 2014 itemis AG and others. All rights reserved.