Decision Center API

ilog.rules.teamserver.web.tree
Interface IlrTreeLabelProvider

All Known Implementing Classes:
IlrDefaultTreeLabelProvider, IlrRuleExplorerLabelProvider, IlrSummaryLabelProvider

public interface IlrTreeLabelProvider

A label provider maps a node of the tree's model to a label, a tooltip, and a CSS class used to render the tree component.

See Also:
IlrTreeDataProvider, IlrTreeController.getTreeLabelProvider()#

Method Summary
 String getCSSClass(IlrTreeNode node)
          Deprecated. replaced by getIconCls(IlrTreeNode)
 String getIconCls(IlrTreeNode node)
          Returns the CSS class for the icon of a node.
 String getLabel(IlrTreeNode node)
          Returns the label of a node.
 String getLabelCls(IlrTreeNode node)
          Returns the CSS class for the label of a node.
 String getNodeCls(IlrTreeNode node)
          Returns the CSS class of a node.
 String getTooltip(IlrTreeNode node)
          Returns the tooltip of a node.
 

Method Detail

getLabel

String getLabel(IlrTreeNode node)
Returns the label of a node.

Parameters:
node - The node to get the label from.
Returns:
A label to render the node in the tree component.

getTooltip

String getTooltip(IlrTreeNode node)
Returns the tooltip of a node.

Parameters:
node - The node to get the tooltip from.
Returns:
A tooltip to render the node in the tree component.

getCSSClass

String getCSSClass(IlrTreeNode node)
Deprecated. replaced by getIconCls(IlrTreeNode)

Returns the CSS class of a node.

Parameters:
node - The node to get the CSS class from.
Returns:
A CSS class to render the node in the tree component.

getNodeCls

String getNodeCls(IlrTreeNode node)
Returns the CSS class of a node.

Parameters:
node - The node to get the CSS class from.
Returns:
A CSS class to render the node in the tree component.

getIconCls

String getIconCls(IlrTreeNode node)
Returns the CSS class for the icon of a node.

Parameters:
node - The node to get the CSS class from.
Returns:
A CSS class to render the icon of a node in the tree component.

getLabelCls

String getLabelCls(IlrTreeNode node)
Returns the CSS class for the label of a node.

Parameters:
node - The node to get the CSS class from.
Returns:
A CSS class to render the label of a node in the tree component.

Decision Center API

© Copyright IBM Corp. 1987, 2013