|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.yworks.yfiles.server.graphml.flexio.data.Label
A yFiles FLEX client label data object.
Constructor Summary | |
Label()
|
|
Label(java.lang.String text,
ILabelModelParameter modelParameter)
Creates a new Label instance using the given label text and model parameters. |
Method Summary | |
ILabelModelParameter |
getLabelModelParameter()
Gets the label model's parameter that determines the positioning of this label. |
java.lang.Object |
getOwner()
Gets the owner of this label. |
YDimension |
getPreferredSize()
Gets the preferred size of this label. |
ILabelStyle |
getStyle()
Returns the style that determines for the visual representation of this label. |
java.lang.String |
getText()
Gets the text string associated with this label. |
int |
getZOrder()
Gets the z-order used on client side to determine the rendering order of the label. |
void |
setLabelModelParameter(ILabelModelParameter labelModelParameter)
Set the label model's parameter that determine the positioning of this label. |
void |
setOwner(java.lang.Object owner)
Sets the owner of this label. |
void |
setPreferredSize(YDimension preferredSize)
Sets the preferred size of this label. |
void |
setStyle(ILabelStyle style)
Sets the style that determines for the visual representation of this label. |
void |
setText(java.lang.String text)
Sets the text string associated with this label. |
void |
setZOrder(int zOrder)
Sets the z-order used on client side to determine the rendering order of the label. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Label()
public Label(java.lang.String text, ILabelModelParameter modelParameter)
text
- The label textmodelParameter
- The model parameters that determine the label's placement.Method Detail |
public java.lang.String getText()
public void setText(java.lang.String text)
public YDimension getPreferredSize()
public void setPreferredSize(YDimension preferredSize)
public void setLabelModelParameter(ILabelModelParameter labelModelParameter)
public ILabelStyle getStyle()
public void setStyle(ILabelStyle style)
public ILabelModelParameter getLabelModelParameter()
public int getZOrder()
public void setZOrder(int zOrder)
public java.lang.Object getOwner()
Node
or an Edge
.
Node
,
Edge
public void setOwner(java.lang.Object owner)
Node
or an Edge
.
Node
,
Edge
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |