Class ZooInspectorTreeView

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ZooInspectorTreeView extends JPanel
See Also:
  • Constructor Details

  • Method Details

    • addNodeSelectionListener

      public void addNodeSelectionListener(NodeSelectionListener l)
    • removeNodeSelectionListener

      public void removeNodeSelectionListener(NodeSelectionListener l)
    • initialize

      public void initialize()
      Initialize the view by creating a completely new tree by removing and refreshing all nodes.
    • clear

      public void clear()
      Clear all the existing nodes from the tree view.
    • createNode

      public void createNode()
      Start the UI workflow for creating a new ZNode as a child of the selected node.
    • deleteNode

      public void deleteNode()
      Start the UI workflow for deleting the selected node.
    • refreshNode

      public void refreshNode()
      Refresh the selected node (i.e. deleting all children and re-fetch them from Zookeeper).
    • addWatch

      public void addWatch()
      Add a Zookeeper watch to the selected node.
    • removeWatch

      public void removeWatch()
      Remove a Zookeeper watch from the selected node (has no effect if the node does not have an existing watch).