public class ResizeNodePolicy extends FXResizePolicy
ResizeNodePolicy is a specialization of FXResizePolicy
that chains a ChangeAttributeOperation for updating the resized
Node. It is applicable to IContentPart with
Node visual and Node content.| Constructor and Description |
|---|
ResizeNodePolicy() |
| 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, getMinimumHeight, getMinimumWidth, getResizeOperation, getSize, getVisualToResize, resizecheckInitialized, getOperation, init, isInitialized, locallyExecuteOperation, rollbackgetAdaptable, setAdaptablepublic ITransactionalOperation commit()
commit in class FXResizePolicypublic 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.