|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.yworks.yfiles.server.graphml.flexio.data.Label
A yFiles FLEX client label data object.
| Constructor Summary | |
Label(String text,
ILabelModelParameter modelParameter)
Creates a new Label instance using the given label text and model parameters. |
|
| Method Summary | |
ILabelModelParameter |
getLabelModelParameter()
Get the label model's parameter that determine the positioning 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. |
String |
getText()
Gets the text string associated with this label. |
void |
setLabelModelParameter(ILabelModelParameter labelModelParameter)
Set the label model's parameter that determine the positioning 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(String text)
Sets the text string associated with this label. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Label(String text,
ILabelModelParameter modelParameter)
text - The label textmodelParameter - The model parameters that determine the label's placement.| Method Detail |
public String getText()
public void setText(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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||