Decision Center API

ilog.rules.teamserver.web.tree.impl
Class IlrDefaultTreeLabelProvider

java.lang.Object
  extended by ilog.rules.teamserver.web.tree.impl.IlrDefaultTreeLabelProvider
All Implemented Interfaces:
IlrTreeLabelProvider
Direct Known Subclasses:
IlrRuleExplorerLabelProvider, IlrSummaryLabelProvider

public class IlrDefaultTreeLabelProvider
extends Object
implements IlrTreeLabelProvider

A default implementation of the IlrTreeLabelProvider class.

See Also:
IlrTreeLabelProvider

Constructor Summary
IlrDefaultTreeLabelProvider()
           
 
Method Summary
 String getCSSClass(IlrTreeNode node)
          Returns the CSS class of a node.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrDefaultTreeLabelProvider

public IlrDefaultTreeLabelProvider()
Method Detail

getLabel

public String getLabel(IlrTreeNode node)
Description copied from interface: IlrTreeLabelProvider
Returns the label of a node.

Specified by:
getLabel in interface IlrTreeLabelProvider
Parameters:
node - The node to get the label from.
Returns:
A label to render the node in the tree component.

getTooltip

public String getTooltip(IlrTreeNode node)
Description copied from interface: IlrTreeLabelProvider
Returns the tooltip of a node.

Specified by:
getTooltip in interface IlrTreeLabelProvider
Parameters:
node - The node to get the tooltip from.
Returns:
A tooltip to render the node in the tree component.

getCSSClass

public String getCSSClass(IlrTreeNode node)
Description copied from interface: IlrTreeLabelProvider
Returns the CSS class of a node.

Specified by:
getCSSClass in interface IlrTreeLabelProvider
Parameters:
node - The node to get the CSS class from.
Returns:
A CSS class to render the node in the tree component.

getNodeCls

public String getNodeCls(IlrTreeNode node)
Description copied from interface: IlrTreeLabelProvider
Returns the CSS class of a node.

Specified by:
getNodeCls in interface IlrTreeLabelProvider
Parameters:
node - The node to get the CSS class from.
Returns:
A CSS class to render the node in the tree component.

getIconCls

public String getIconCls(IlrTreeNode node)
Description copied from interface: IlrTreeLabelProvider
Returns the CSS class for the icon of a node.

Specified by:
getIconCls in interface IlrTreeLabelProvider
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

public String getLabelCls(IlrTreeNode node)
Description copied from interface: IlrTreeLabelProvider
Returns the CSS class for the label of a node.

Specified by:
getLabelCls in interface IlrTreeLabelProvider
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