|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.DefaultNodeLabelLayout
public class DefaultNodeLabelLayout
This class is the default implementation for the NodeLabelLayout.
Constructor Summary | |
---|---|
DefaultNodeLabelLayout(NodeLabelModel model,
Object param,
OrientedRectangle orientedBox,
Node node)
Creates a new instance of DefaultNodeLabelLayout |
|
DefaultNodeLabelLayout(NodeLabelModel model,
Object param,
YRectangle box,
Node node)
Creates a new instance of DefaultNodeLabelLayout |
Method Summary | |
---|---|
YRectangle |
getBox()
Returns the bounding box of the label |
NodeLabelModel |
getLabelModel()
Returns the node label model associated with this label layout |
Object |
getModelParameter()
Returns the NodeLabelModel parameter that describes the position of the label layout |
Node |
getNode()
Returns the node associated with this layout. |
OrientedRectangle |
getOrientedBox()
Returns the box of the label |
void |
setModelParameter(Object param)
Sets the NodeLabelModel parameter that describes the position of the label layout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultNodeLabelLayout(NodeLabelModel model, Object param, YRectangle box, Node node)
DefaultNodeLabelLayout
model
- the NodeLabel model for this label layoutparam
- the NodeLabelModel parameter that describes the position
of the label layout.box
- the bounds of this label layoutpublic DefaultNodeLabelLayout(NodeLabelModel model, Object param, OrientedRectangle orientedBox, Node node)
DefaultNodeLabelLayout
model
- the NodeLabel model for this label layoutparam
- the NodeLabelModel parameter that describes the position of the label layout.orientedBox
- the bounds of this label layoutMethod Detail |
---|
public YRectangle getBox()
LabelLayout
getBox
in interface LabelLayout
public OrientedRectangle getOrientedBox()
LabelLayout
getOrientedBox
in interface LabelLayout
public NodeLabelModel getLabelModel()
NodeLabelLayout
getLabelModel
in interface NodeLabelLayout
public void setModelParameter(Object param)
setModelParameter
in interface LabelLayout
public Object getModelParameter()
getModelParameter
in interface LabelLayout
public Node getNode()
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |