Interface TreeNodeRenderer

All Known Implementing Classes:
HealthNodeRenderer, JobNodeRenderer, TopologyNodeRenderer

public interface TreeNodeRenderer
Author:
Laurent Cohen
  • Method Details

    • getText

      String getText(DefaultMutableTreeNode treeNode, boolean showIP)
      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

      String getIconPath(DefaultMutableTreeNode treeNode)
      Get the path to an icon to render for the node.
      Parameters:
      treeNode - represents the node in the tree.
      Returns:
      an optionally null path.