public class NodeLayoutBehavior extends AbstractLayoutBehavior
activeACTIVE_PROPERTY| Constructor and Description |
|---|
NodeLayoutBehavior() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adaptFromLayout()
Called after a layout pass.
|
protected GraphLayoutBehavior |
getGraphLayoutBehavior()
Returns the
GraphLayoutContext for which AbstractLayoutBehavior.provideToLayout()
and AbstractLayoutBehavior.adaptFromLayout() shall be called before or after a layout
pass, respectively. |
NodePart |
getHost() |
protected GraphNodeLayout |
getNodeLayout()
Returns the
GraphNodeLayout that corresponds to the
NodePart on which this NodeLayoutBehavior is installed. |
protected void |
provideToLayout()
Called before a layout pass.
|
doActivate, doDeactivate, updateLabelsactivate, activeProperty, addFeedback, addHandles, deactivate, getAdaptable, getFeedbackParts, getHandleParts, isActive, removeFeedback, removeHandles, setAdaptable, switchAdaptableScopes, updateHandlesprotected void adaptFromLayout()
AbstractLayoutBehavioradaptFromLayout in class AbstractLayoutBehaviorprotected GraphLayoutBehavior getGraphLayoutBehavior()
AbstractLayoutBehaviorGraphLayoutContext for which AbstractLayoutBehavior.provideToLayout()
and AbstractLayoutBehavior.adaptFromLayout() shall be called before or after a layout
pass, respectively.getGraphLayoutBehavior in class AbstractLayoutBehaviorGraphLayoutContext for which AbstractLayoutBehavior.provideToLayout()
and AbstractLayoutBehavior.adaptFromLayout() shall be called before or after a
layout pass, respectively.public NodePart getHost()
getHost in interface IBehavior<javafx.scene.Node>getHost in class AbstractBehavior<javafx.scene.Node>protected GraphNodeLayout getNodeLayout()
GraphNodeLayout that corresponds to the
NodePart on which this NodeLayoutBehavior is installed.GraphNodeLayout that corresponds to the
NodePart on which this NodeLayoutBehavior is
installed.protected void provideToLayout()
AbstractLayoutBehaviorprovideToLayout in class AbstractLayoutBehaviorCopyright (c) 2014 itemis AG and others. All rights reserved.