|
||||||||||
| 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.IconLabelStyleDecorator
| Constructor Summary | |
IconLabelStyleDecorator(IIcon icon,
ILabelModelParameter iconPlacement)
Creates a new instance using a SimpleLabelStyle
as the decorated style instance. |
|
IconLabelStyleDecorator(IIcon icon,
ILabelModelParameter iconPlacement,
ILabelStyle innerStyle)
Creates a new instance using the given style as the decorated style instance. |
|
| Method Summary | |
IIcon |
getIcon()
The icon to paint for the label. |
ILabelModelParameter |
getIconPlacement()
Gets the placement model parameter. |
ILabelStyle |
getInnerStyle()
The inner style that is decorated by this decorator. |
boolean |
isAutoFlip()
Get whether the label should be flipped 180 degrees automatically, if it would be oriented downwards, otherwise. |
void |
setAutoFlip(boolean autoFlip)
Set whether the label should be flipped 180 degrees automatically, if it would be oriented downwards, otherwise. |
void |
setIcon(IIcon icon)
The icon to paint for the label. |
void |
setIconPlacement(ILabelModelParameter iconPlacement)
Sets the placement model parameter. |
protected void |
setInnerStyle(ILabelStyle innerStyle)
The inner style that is decorated by this decorator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IconLabelStyleDecorator(IIcon icon,
ILabelModelParameter iconPlacement)
SimpleLabelStyle
as the decorated style instance.
icon - The icon to painticonPlacement - The icon placement parameters
public IconLabelStyleDecorator(IIcon icon,
ILabelModelParameter iconPlacement,
ILabelStyle innerStyle)
icon - The icon to painticonPlacement - The icon placement parametersinnerStyle - The style that will be decorated with an icon| Method Detail |
public void setAutoFlip(boolean autoFlip)
public ILabelStyle getInnerStyle()
getInnerStyle in interface IIconLabelStyleDecoratorprotected void setInnerStyle(ILabelStyle innerStyle)
public ILabelModelParameter getIconPlacement()
getIconPlacement in interface IIconLabelStyleDecoratorpublic IIcon getIcon()
getIcon in interface IIconLabelStyleDecoratorpublic boolean isAutoFlip()
isAutoFlip in interface IIconLabelStyleDecoratorpublic void setIconPlacement(ILabelModelParameter iconPlacement)
public void setIcon(IIcon icon)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||