com.yworks.yfiles.server.tiles.support
Interface GenericGroupNodeStateLabelProvider

All Known Implementing Classes:
StateLabelProviderPainter

public interface GenericGroupNodeStateLabelProvider

This interface provides access to the state label of a group node. When GroupNodeRealizers are used in yFiles AJAX application, the client-side expand/collapse functionality will only be available if the GenericNodeRealizer.Painter implementation implements the GenericGroupNodeStateLabelProvider interface. Otherwise, the bounds of the state label icon are not available on the client.

See Also:
StateLabelProviderPainter

Method Summary
 NodeLabel getStateLabel(NodeRealizer context)
          Returns the state label of this realizer.
 

Method Detail

getStateLabel

public NodeLabel getStateLabel(NodeRealizer context)
Returns the state label of this realizer.

Parameters:
context - the node realizer that this painter is associated with.
Returns:
the state label for the current state.


Copyright © 2006-2013 yWorks GmbH. All rights reserved