com.yworks.yfiles.server.graphml.flexio.data
Interface IIconLabelStyleDecorator

All Superinterfaces:
ILabelStyle
All Known Implementing Classes:
IconLabelStyle, IconLabelStyleDecorator

public interface IIconLabelStyleDecorator
extends ILabelStyle

A yFiles FLEX label style data object that decorates an existing arbitrary label style with an icon.


Method Summary
 IIcon getIcon()
          The icon to paint for the label
 ILabelModelParameter getIconPlacement()
          The icon placement model parameter.
 ILabelStyle getInnerStyle()
          The inner style that gets decorated by this decorator.
 boolean isAutoFlip()
          Whether the label should be flipped 180 degrees automatically, if it would be oriented downwards, otherwise.
 

Method Detail

getInnerStyle

public ILabelStyle getInnerStyle()
The inner style that gets decorated by this decorator.


getIconPlacement

public ILabelModelParameter getIconPlacement()
The icon placement model parameter.

All valid node label model parameters can be used. The label's layout will be interpreted as the node's layout and the icon will be placed relative to that layout as if it was a node's label.


getIcon

public IIcon getIcon()
The icon to paint for the label


isAutoFlip

public boolean isAutoFlip()
Whether the label should be flipped 180 degrees automatically, if it would be oriented downwards, otherwise.



Copyright © 2000-2007 yWorks GmbH. All rights reserved