Class JobDataPanel

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

public class JobDataPanel extends AbstractTreeTableOption implements org.jppf.client.monitoring.jobs.JobMonitoringListener
Panel displaying the tree of all driver connections and attached nodes.
Author:
Laurent Cohen, Martin Janda
See Also:
  • Constructor Details

    • JobDataPanel

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

    • createUI

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

      public void refresh()
      Refresh the entire tree table.
    • addDriver

      public void addDriver(org.jppf.client.monitoring.jobs.JobDriver driver)
      Called to notify that a driver was added.
      Parameters:
      driver - a reference to the driver.
    • removeDriver

      public void removeDriver(org.jppf.client.monitoring.jobs.JobDriver driver)
      Called to notify that a driver was removed.
      Parameters:
      driver - the name of the driver to remove.
    • addJob

      public void addJob(org.jppf.client.monitoring.jobs.JobDriver driver, org.jppf.client.monitoring.jobs.Job job)
      Called to notify that a job was submitted to a driver.
      Parameters:
      driver - the driver the job was submitted to.
      job - information about the submitted job.
    • removeJob

      public void removeJob(org.jppf.client.monitoring.jobs.JobDriver driver, org.jppf.client.monitoring.jobs.Job job)
      Called to notify that a job was removed from a driver.
      Parameters:
      driver - the the driver the job was submitted to.
      job - the job.
    • updateJob

      public void updateJob(org.jppf.client.monitoring.jobs.Job job)
      Called to notify that a job was removed from a driver.
      Parameters:
      job - information about the job.
    • addJobDispatch

      public void addJobDispatch(org.jppf.client.monitoring.jobs.Job job, org.jppf.client.monitoring.jobs.JobDispatch dispatch)
      Called to notify that a sub-job was dispatched to a node.
      Parameters:
      job - information about the job.
      dispatch - information about the job dispatch.
    • removeJobDispatch

      public void removeJobDispatch(org.jppf.client.monitoring.jobs.Job job, org.jppf.client.monitoring.jobs.JobDispatch dispatch)
      Called to notify that a sub-job was removed from a node.
      Parameters:
      job - information about the job.
      dispatch - information about the node where the sub-job was dispatched.
    • refreshUI

      public void refreshUI()
      Refreshes the tree table display.
    • setupActions

      public void setupActions()
      Initialize all actions used in the toolbar and popup menus.
    • driverAdded

      public void driverAdded(org.jppf.client.monitoring.jobs.JobMonitoringEvent event)
      Specified by:
      driverAdded in interface org.jppf.client.monitoring.jobs.JobMonitoringListener
    • driverRemoved

      public void driverRemoved(org.jppf.client.monitoring.jobs.JobMonitoringEvent event)
      Specified by:
      driverRemoved in interface org.jppf.client.monitoring.jobs.JobMonitoringListener
    • jobAdded

      public void jobAdded(org.jppf.client.monitoring.jobs.JobMonitoringEvent event)
      Specified by:
      jobAdded in interface org.jppf.client.monitoring.jobs.JobMonitoringListener
    • jobRemoved

      public void jobRemoved(org.jppf.client.monitoring.jobs.JobMonitoringEvent event)
      Specified by:
      jobRemoved in interface org.jppf.client.monitoring.jobs.JobMonitoringListener
    • jobUpdated

      public void jobUpdated(org.jppf.client.monitoring.jobs.JobMonitoringEvent event)
      Specified by:
      jobUpdated in interface org.jppf.client.monitoring.jobs.JobMonitoringListener
    • jobDispatchAdded

      public void jobDispatchAdded(org.jppf.client.monitoring.jobs.JobMonitoringEvent event)
      Specified by:
      jobDispatchAdded in interface org.jppf.client.monitoring.jobs.JobMonitoringListener
    • jobDispatchRemoved

      public void jobDispatchRemoved(org.jppf.client.monitoring.jobs.JobMonitoringEvent event)
      Specified by:
      jobDispatchRemoved in interface org.jppf.client.monitoring.jobs.JobMonitoringListener
    • setSuspended

      public void setSuspended(boolean suspended)
      Specify whether refreshes are currently suspended.
      Parameters:
      suspended - true to suspend refreshes, false to resume them.
      Since:
      5.1