|
||||||||||
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.IconLabelStyle
Data object for the yFiles FLEX client IconLabelStyle.
Constructor Summary | |
IconLabelStyle(ILabelModelParameter iconPlacement)
Creates a new instance using the provided parameters. |
Method Summary | |
IIcon |
getIcon()
The icon to paint for the label. |
ILabelModelParameter |
getIconPlacement()
Gets the placement model parameter. |
ILabelStyle |
getInnerStyle()
The inner style that gets decorated by this decorator. |
java.util.Collection |
getSharedInstances()
Returns an Collection for objects that shall be shared. |
boolean |
isAutoFlip()
Get whether the label should be flipped 180 degrees automatically, if it would be oriented downwards, otherwise. |
boolean |
isClipText()
Whether the label's text will be clipped. |
void |
setAutoFlip(boolean autoFlip)
Set whether the label should be flipped 180 degrees automatically, if it would be oriented downwards, otherwise. |
void |
setBackgroundFill(IFill backgroundFill)
Set the label's background color. |
void |
setBackgroundStroke(IStroke backgroundStroke)
Set the label's background stroke. |
void |
setClipText(boolean clipText)
Set whether the label's text should be clipped. |
void |
setFont(Font font)
Set the font to use for the label text. |
void |
setFontFill(IFill fontFill)
Set the font color of the label text. |
void |
setIcon(IIcon icon)
The icon to paint for the label. |
void |
setIconPlacement(ILabelModelParameter iconPlacement)
Sets the placement model parameter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IconLabelStyle(ILabelModelParameter iconPlacement)
iconPlacement
- the placement of the icon.Method Detail |
public void setAutoFlip(boolean autoFlip)
public void setIconPlacement(ILabelModelParameter iconPlacement)
public void setIcon(IIcon icon)
public void setClipText(boolean clipText)
public boolean isClipText()
public void setFontFill(IFill fontFill)
public void setBackgroundFill(IFill backgroundFill)
public void setBackgroundStroke(IStroke backgroundStroke)
public void setFont(Font font)
public ILabelStyle getInnerStyle()
This class always uses a SimpleLabelStyle
.
getInnerStyle
in interface IIconLabelStyleDecorator
public ILabelModelParameter getIconPlacement()
getIconPlacement
in interface IIconLabelStyleDecorator
public IIcon getIcon()
getIcon
in interface IIconLabelStyleDecorator
public boolean isAutoFlip()
isAutoFlip
in interface IIconLabelStyleDecorator
public java.util.Collection getSharedInstances()
ISharedInstanceProvider
Collection
for objects that shall be shared.
getSharedInstances
in interface ISharedInstanceProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |