Class NodeDataPanel

All Implemented Interfaces:
Serializable, EventListener, org.jppf.client.monitoring.topology.TopologyListener, ActionHolder, Option, OptionElement, OptionProperties

public class NodeDataPanel extends AbstractTreeTableOption implements org.jppf.client.monitoring.topology.TopologyListener
Panel displaying the tree of all driver connections and attached nodes.
Author:
Laurent Cohen
See Also:
  • Constructor Details

    • NodeDataPanel

      public NodeDataPanel()
      Initialize this panel with the specified information.
  • Method Details

    • init

      public void init()
      Initialize the refresh of tree structure.
    • refreshTreeTableModel

      public void refreshTreeTableModel()
      Remove all drivers and nodes from the tree table.
    • createUI

      public void createUI()
      Create, initialize and layout the GUI components displayed in this panel.
      Specified by:
      createUI in class AbstractOptionProperties
    • setupActions

      public void setupActions()
      Initialize all actions used in the panel.
    • driverAdded

      public void driverAdded(org.jppf.client.monitoring.topology.TopologyEvent event)
      Specified by:
      driverAdded in interface org.jppf.client.monitoring.topology.TopologyListener
    • driverRemoved

      public void driverRemoved(org.jppf.client.monitoring.topology.TopologyEvent event)
      Specified by:
      driverRemoved in interface org.jppf.client.monitoring.topology.TopologyListener
    • driverUpdated

      public void driverUpdated(org.jppf.client.monitoring.topology.TopologyEvent event)
      Specified by:
      driverUpdated in interface org.jppf.client.monitoring.topology.TopologyListener
    • nodeAdded

      public void nodeAdded(org.jppf.client.monitoring.topology.TopologyEvent event)
      Specified by:
      nodeAdded in interface org.jppf.client.monitoring.topology.TopologyListener
    • nodeRemoved

      public void nodeRemoved(org.jppf.client.monitoring.topology.TopologyEvent event)
      Specified by:
      nodeRemoved in interface org.jppf.client.monitoring.topology.TopologyListener
    • nodeUpdated

      public void nodeUpdated(org.jppf.client.monitoring.topology.TopologyEvent event)
      Specified by:
      nodeUpdated in interface org.jppf.client.monitoring.topology.TopologyListener
    • isAutoRefresh

      public boolean isAutoRefresh()
      Determine whether auto-refresh is on or off.
      Returns:
      true if auto refresh is on, false otherwise.
    • setAutoRefresh

      public void setAutoRefresh(boolean autoRefresh)
      Specify whether auto-refresh is on or off.
      Parameters:
      autoRefresh - true to turn auto-refresh on, false otherwise.