Search this API

y.layout
Class NodeLabelLayoutImpl

java.lang.Object
  extended by y.layout.LabelLayoutImpl
      extended by y.layout.NodeLabelLayoutImpl
All Implemented Interfaces:
LabelLayout, NodeLabelLayout

public class NodeLabelLayoutImpl
extends LabelLayoutImpl
implements NodeLabelLayout

NodeLabelLayoutImpl is a default implementation of the NodeLabelLayout interface.

 

Constructor Summary
NodeLabelLayoutImpl()
          Creates a new instance of NodeLabelLayoutImpl.
 
Method Summary
 NodeLabelModel getLabelModel()
          Returns the label model that describes the valid locations for this node label.
 void setLabelModel(NodeLabelModel labelModel)
          Specifies the label model that describes the valid locations for this node label.
 
Methods inherited from class y.layout.LabelLayoutImpl
getBox, getModelParameter, getOrientedBox, setBox, setModelParameter, setOrientedBox
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface y.layout.LabelLayout
getBox, getModelParameter, getOrientedBox, setModelParameter
 

Constructor Detail

NodeLabelLayoutImpl

public NodeLabelLayoutImpl()
Creates a new instance of NodeLabelLayoutImpl.

Method Detail

getLabelModel

public NodeLabelModel getLabelModel()
Returns the label model that describes the valid locations for this node label.

Specified by:
getLabelModel in interface NodeLabelLayout
Returns:
the NodeLabelModel associated with this NodeLabelLayout
See Also:
setLabelModel(NodeLabelModel)

setLabelModel

public void setLabelModel(NodeLabelModel labelModel)
Specifies the label model that describes the valid locations for this node label.

Parameters:
labelModel - the NodeLabelModel associated with this NodeLabelLayout

© Copyright 2000-2021,
yWorks GmbH.
All rights reserved.