|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.LabelLayoutImpl
public class LabelLayoutImpl
LabelLayoutImpl
is the default implementation of the LabelLayout
interface.
Constructor Summary | |
---|---|
LabelLayoutImpl()
Creates a new LabelLayoutImpl instance. |
Method Summary | |
---|---|
YRectangle |
getBox()
Returns the bounding box of the label. |
java.lang.Object |
getModelParameter()
Returns the label model parameter that describes the position of this label. |
OrientedRectangle |
getOrientedBox()
Returns the box of the label. |
void |
setBox(YRectangle b)
Specifies the bounding box of the label. |
void |
setModelParameter(java.lang.Object parameter)
Specifies the label model parameter that describes the position of this label. |
void |
setOrientedBox(OrientedRectangle orientedBox)
Specifies the box of the label. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabelLayoutImpl()
LabelLayoutImpl
instance.
Method Detail |
---|
public OrientedRectangle getOrientedBox()
LabelLayout
up vector
of the rectangle encodes the orientation of the label.
getOrientedBox
in interface LabelLayout
public void setOrientedBox(OrientedRectangle orientedBox)
up vector
of the rectangle encodes the orientation of the label.
orientedBox
- the oriented box of the labelpublic YRectangle getBox()
LabelLayout
getBox
in interface LabelLayout
public void setBox(YRectangle b)
b
- the bounding box of the labelpublic java.lang.Object getModelParameter()
LabelLayout
getModelParameter
in interface LabelLayout
LabelLayout.setModelParameter(Object)
public void setModelParameter(java.lang.Object parameter)
LabelLayout
setModelParameter
in interface LabelLayout
parameter
- the label model parameter
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |