Package org.jppf.admin.web.tabletree
Interface TreeNodeRenderer
- All Known Implementing Classes:
HealthNodeRenderer,JobNodeRenderer,TopologyNodeRenderer
public interface TreeNodeRenderer
- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptiongetIconPath(DefaultMutableTreeNode treeNode) Get the path to an icon to render for the node.getText(DefaultMutableTreeNode treeNode, boolean showIP) Get the text to render for the node.
-
Method Details
-
getText
Get the text to render for the node.- Parameters:
treeNode- represents the node in the tree.showIP- whether to show IP addresses vs. host names.- Returns:
- an optionally null text.
-
getIconPath
Get the path to an icon to render for the node.- Parameters:
treeNode- represents the node in the tree.- Returns:
- an optionally null path.
-