Class HealthNodeRenderer

java.lang.Object
org.jppf.admin.web.health.HealthNodeRenderer
All Implemented Interfaces:
TreeNodeRenderer

public class HealthNodeRenderer extends Object implements TreeNodeRenderer
Author:
Laurent Cohen
  • Constructor Details

    • HealthNodeRenderer

      public HealthNodeRenderer()
  • Method Details

    • getText

      public String getText(DefaultMutableTreeNode treeNode, boolean showIP)
      Description copied from interface: TreeNodeRenderer
      Get the text to render for the node.
      Specified by:
      getText in interface TreeNodeRenderer
      Parameters:
      treeNode - represents the node in the tree.
      showIP - whether to show IP addresses vs. host names.
      Returns:
      an optionally null text.
    • getIconPath

      public String getIconPath(DefaultMutableTreeNode treeNode)
      Description copied from interface: TreeNodeRenderer
      Get the path to an icon to render for the node.
      Specified by:
      getIconPath in interface TreeNodeRenderer
      Parameters:
      treeNode - represents the node in the tree.
      Returns:
      an optionally null path.