VR - The visual root node of the UI toolkit used, e.g.
javafx.scene.Node in case of JavaFX.public abstract class AbstractBendPolicy<VR> extends AbstractTransactionPolicy<VR>
adaptableIAdaptable.Bound.Impl<T extends IAdaptable>| Constructor and Description |
|---|
AbstractBendPolicy() |
| Modifier and Type | Method and Description |
|---|---|
ITransactionalOperation |
commit()
Returns an
ITransactionalOperation that performs all
manipulations applied by the policy since the last AbstractTransactionPolicy.init() call. |
protected abstract java.util.List<IBendableContentPart.BendPoint> |
getCurrentBendPoints()
Returns the current control points of the content.
|
protected java.util.List<IBendableContentPart.BendPoint> |
getInitialBendPoints()
Returns the initial bend points before bending the content.
|
void |
init()
Initializes the policy, so that the policy's "work" methods can be used.
|
checkInitialized, createOperation, getOperation, isInitialized, locallyExecuteOperation, rollbackadaptableProperty, getAdaptable, getHost, setAdaptablepublic ITransactionalOperation commit()
AbstractTransactionPolicyITransactionalOperation that performs all
manipulations applied by the policy since the last AbstractTransactionPolicy.init() call.
When called multiple times in sequence, only the first call will yield an
operation, the subsequent calls will yield null.commit in class AbstractTransactionPolicy<VR>ITransactionalOperation that performs all
manipulations applied by the policy since the last
AbstractTransactionPolicy.init() call.protected abstract java.util.List<IBendableContentPart.BendPoint> getCurrentBendPoints()
protected java.util.List<IBendableContentPart.BendPoint> getInitialBendPoints()
public void init()
AbstractTransactionPolicyIllegalStateException. It is safe to call AbstractTransactionPolicy.init()
multiple times in sequence.init in class AbstractTransactionPolicy<VR>Copyright (c) 2014 itemis AG and others. All rights reserved.