Class ZooInspectorPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, NodeViewersChangeListener

public class ZooInspectorPanel extends JPanel implements NodeViewersChangeListener
The parent JPanel for the whole application
See Also:
  • Constructor Details

  • Method Details

    • connect

      public void connect(Properties connectionProps)
      Parameters:
      connectionProps - the Properties for connecting to the zookeeper instance
    • disconnect

      public void disconnect()
    • disconnect

      public void disconnect(boolean wait)
      Parameters:
      wait - - set this to true if the method should only return once the application has successfully disconnected
    • nodeViewersChanged

      public void nodeViewersChanged(List<ZooInspectorNodeViewer> newViewers)
      Description copied from interface: NodeViewersChangeListener
      Called when the node viewers configuration is changed (i.e node viewers are added, removed or the order of the node viewers is changed)
      Specified by:
      nodeViewersChanged in interface NodeViewersChangeListener
      Parameters:
      newViewers - - a List of ZooInspectorNodeViewers which are to be shown
    • setdefaultConnectionProps

      public void setdefaultConnectionProps(Properties connectionProps) throws IOException
      Parameters:
      connectionProps -
      Throws:
      IOException