Package org.jppf.ui.monitoring.job
Class JobDataPanel
java.lang.Object
org.jppf.ui.options.AbstractOptionProperties
org.jppf.ui.options.AbstractOptionElement
org.jppf.ui.options.AbstractOption
org.jppf.ui.treetable.AbstractTreeTableOption
org.jppf.ui.monitoring.job.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:
-
Field Summary
Fields inherited from class org.jppf.ui.treetable.AbstractTreeTableOption
actionHandler, BASE, model, treeTable, treeTableRootFields inherited from class org.jppf.ui.options.AbstractOption
listeners, persistent, valueFields inherited from class org.jppf.ui.options.AbstractOptionElement
parent, rootFields inherited from class org.jppf.ui.options.AbstractOptionProperties
bordered, componentConstraints, detachable, eventsEnabled, finalizer, horizontalScrollbar, iconPath, initializer, label, layoutConstraints, mouseListener, name, scripts, scrollable, toolTipText, UIComponent, verticalScrollbar -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDriver(org.jppf.client.monitoring.jobs.JobDriver driver) Called to notify that a driver was added.voidaddJob(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.voidaddJobDispatch(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.voidcreateUI()Create, initialize and layout the GUI components displayed in this panel.voiddriverAdded(org.jppf.client.monitoring.jobs.JobMonitoringEvent event) voiddriverRemoved(org.jppf.client.monitoring.jobs.JobMonitoringEvent event) voidjobAdded(org.jppf.client.monitoring.jobs.JobMonitoringEvent event) voidjobDispatchAdded(org.jppf.client.monitoring.jobs.JobMonitoringEvent event) voidjobDispatchRemoved(org.jppf.client.monitoring.jobs.JobMonitoringEvent event) voidjobRemoved(org.jppf.client.monitoring.jobs.JobMonitoringEvent event) voidjobUpdated(org.jppf.client.monitoring.jobs.JobMonitoringEvent event) voidrefresh()Refresh the entire tree table.voidRefreshes the tree table display.voidremoveDriver(org.jppf.client.monitoring.jobs.JobDriver driver) Called to notify that a driver was removed.voidremoveJob(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.voidremoveJobDispatch(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.voidsetSuspended(boolean suspended) Specify whether refreshes are currently suspended.voidInitialize all actions used in the toolbar and popup menus.voidupdateJob(org.jppf.client.monitoring.jobs.Job job) Called to notify that a job was removed from a driver.Methods inherited from class org.jppf.ui.treetable.AbstractTreeTableOption
getActionHandler, getModel, getTreeTable, getTreeTableRoot, getVisibleColumnIndexes, isColumnHidden, localize, restoreColumns, saveTableColumnsSettings, setEnabled, setEventsEnabled, setupTableColumns, setupValueChangeNotificationsMethods inherited from class org.jppf.ui.options.AbstractOption
addValueChangeListener, fireValueChanged, getValue, isPersistent, layoutComponents, layoutComponents, removeValueChangeListener, setPersistent, setValue, toStringMethods inherited from class org.jppf.ui.options.AbstractOptionElement
findAll, findAllWithName, findElement, findFirstWithName, findLastWithName, getChildForName, getParent, getPath, getRoot, getStringPath, setParentMethods inherited from class org.jppf.ui.options.AbstractOptionProperties
createScrollPane, getComponentConstraints, getFinalizer, getIconPath, getInitializer, getLabel, getLayoutConstraints, getMouseListener, getName, getScripts, getToolTipText, getUIComponent, isBordered, isDetachable, isEventsEnabled, isHorizontalScrollbar, isScrollable, isVerticalScrollbar, setBordered, setComponentConstraints, setDetachable, setEditable, setFinalizer, setHorizontalScrollbar, setIconPath, setInitializer, setLabel, setLayoutConstraints, setMouseListener, setName, setScrollable, setToolTipText, setUIComponent, setVerticalScrollbarMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jppf.ui.options.OptionElement
findAllWithName, findElement, findFirstWithName, findLastWithName, getParent, getPath, getRoot, getStringPathMethods inherited from interface org.jppf.ui.options.OptionProperties
getComponentConstraints, getFinalizer, getIconPath, getInitializer, getLabel, getLayoutConstraints, getMouseListener, getName, getScripts, getToolTipText, getUIComponent, isBordered, isDetachable, isEventsEnabled, isScrollable, setComponentConstraints, setEditable, setLayoutConstraints, setMouseListener
-
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:
createUIin classAbstractOptionProperties
-
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:
driverAddedin interfaceorg.jppf.client.monitoring.jobs.JobMonitoringListener
-
driverRemoved
public void driverRemoved(org.jppf.client.monitoring.jobs.JobMonitoringEvent event) - Specified by:
driverRemovedin interfaceorg.jppf.client.monitoring.jobs.JobMonitoringListener
-
jobAdded
public void jobAdded(org.jppf.client.monitoring.jobs.JobMonitoringEvent event) - Specified by:
jobAddedin interfaceorg.jppf.client.monitoring.jobs.JobMonitoringListener
-
jobRemoved
public void jobRemoved(org.jppf.client.monitoring.jobs.JobMonitoringEvent event) - Specified by:
jobRemovedin interfaceorg.jppf.client.monitoring.jobs.JobMonitoringListener
-
jobUpdated
public void jobUpdated(org.jppf.client.monitoring.jobs.JobMonitoringEvent event) - Specified by:
jobUpdatedin interfaceorg.jppf.client.monitoring.jobs.JobMonitoringListener
-
jobDispatchAdded
public void jobDispatchAdded(org.jppf.client.monitoring.jobs.JobMonitoringEvent event) - Specified by:
jobDispatchAddedin interfaceorg.jppf.client.monitoring.jobs.JobMonitoringListener
-
jobDispatchRemoved
public void jobDispatchRemoved(org.jppf.client.monitoring.jobs.JobMonitoringEvent event) - Specified by:
jobDispatchRemovedin interfaceorg.jppf.client.monitoring.jobs.JobMonitoringListener
-
setSuspended
public void setSuspended(boolean suspended) Specify whether refreshes are currently suspended.- Parameters:
suspended-trueto suspend refreshes,falseto resume them.- Since:
- 5.1
-