|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.DefaultNodeLabelLayout
public class DefaultNodeLabelLayout
This class is the default implementation for the NodeLabelLayout.
| Constructor Summary | |
|---|---|
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. |
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 layout| Method Detail |
|---|
public YRectangle getBox()
LabelLayout
getBox in interface LabelLayoutpublic NodeLabelModel getLabelModel()
NodeLabelLayout
getLabelModel in interface NodeLabelLayoutpublic void setModelParameter(Object param)
setModelParameter in interface LabelLayoutpublic Object getModelParameter()
getModelParameter in interface LabelLayoutpublic Node getNode()
|
© Copyright 2000-2008, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||