|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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
public class JobDataPanel
Panel displaying the tree of all driver connections and attached nodes.
| Nested Class Summary | |
|---|---|
class |
JobDataPanel.RefreshTask
This task refreshes the entire job data panel. |
| Field Summary |
|---|
| Fields inherited from class org.jppf.ui.treetable.AbstractTreeTableOption |
|---|
actionHandler, BASE, model, treeTable, treeTableRoot |
| Fields inherited from class org.jppf.ui.options.AbstractOption |
|---|
listeners, persistent, value |
| Fields inherited from class org.jppf.ui.options.AbstractOptionElement |
|---|
parent, root |
| Fields inherited from class org.jppf.ui.options.AbstractOptionProperties |
|---|
bordered, componentConstraints, eventsEnabled, finalizer, iconPath, initializer, label, layoutConstraints, name, scripts, scrollable, toolTipText, UIComponent |
| Constructor Summary | |
|---|---|
JobDataPanel()
Initialize this panel with the specified information. |
|
| Method Summary | |
|---|---|
void |
connectionFailed(ClientEvent event)
Notifiy this listener that a driver connection has failed. |
void |
createUI()
Create, initialize and layout the GUI components displayed in this panel. |
void |
driverAdded(JPPFClientConnection clientConnection)
Called to notify that a driver was added. |
void |
driverRemoved(String driverName)
Called to notify that a driver was removed. |
void |
jobAdded(String driverName,
JobInformation jobInfo)
Called to notify that a job was submitted to a driver. |
void |
jobRemoved(String driverName,
JobInformation jobInfo)
Called to notify that a job was removed from a driver. |
void |
jobUpdated(String driverName,
JobInformation jobInfo)
Called to notify that a job was removed from a driver. |
void |
newConnection(ClientEvent event)
Notifiy this listener that a new driver connection was created. |
void |
refresh()
Refresh the tree from the latest data found in the server. |
void |
refreshUI()
Refreshes the tree table display. |
void |
setupActions()
Initialize all actions used in the panel. |
void |
subJobAdded(String driverName,
JobInformation jobInfo,
JPPFManagementInfo nodeInfo)
Called to notify that a sub-job was dispatched to a node. |
void |
subJobRemoved(String driverName,
JobInformation jobInfo,
JPPFManagementInfo nodeInfo)
Called to notify that a sub-job was removed from a node. |
| Methods inherited from class org.jppf.ui.treetable.AbstractTreeTableOption |
|---|
getActionHandler, getModel, getTreeTable, getTreeTableRoot, localize, saveTableColumnsWidth, setEnabled, setEventsEnabled, setupTableColumns, setupValueChangeNotifications |
| Methods inherited from class org.jppf.ui.options.AbstractOption |
|---|
addValueChangeListener, fireValueChanged, getValue, isPersistent, layoutComponents, layoutComponents, removeValueChangeListener, setPersistent, setValue |
| Methods inherited from class org.jppf.ui.options.AbstractOptionElement |
|---|
findAll, findAllWithName, findElement, findFirstWithName, findLastWithName, getChildForName, getParent, getPath, getRoot, getStringPath, setParent, toString |
| Methods inherited from class org.jppf.ui.options.AbstractOptionProperties |
|---|
getComponentConstraints, getFinalizer, getIconPath, getInitializer, getLabel, getLayoutConstraints, getName, getScripts, getToolTipText, getUIComponent, isBordered, isEventsEnabled, isScrollable, setBordered, setComponentConstraints, setEditable, setFinalizer, setIconPath, setInitializer, setLabel, setLayoutConstraints, setName, setScrollable, setToolTipText, setUIComponent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jppf.ui.actions.ActionHolder |
|---|
getActionHandler |
| Methods inherited from interface org.jppf.ui.options.OptionElement |
|---|
findAllWithName, findElement, findFirstWithName, findLastWithName, getParent, getPath, getRoot, getStringPath |
| Methods inherited from interface org.jppf.ui.options.OptionProperties |
|---|
getComponentConstraints, getFinalizer, getIconPath, getInitializer, getLabel, getLayoutConstraints, getName, getScripts, getToolTipText, getUIComponent, isBordered, isEventsEnabled, isScrollable, setComponentConstraints, setEditable, setLayoutConstraints |
| Constructor Detail |
|---|
public JobDataPanel()
| Method Detail |
|---|
public void refresh()
public void createUI()
createUI in class AbstractOptionPropertiespublic void driverAdded(JPPFClientConnection clientConnection)
clientConnection - a reference to the driver connection.public void driverRemoved(String driverName)
driverName - the name of the driver to remove.
public void jobAdded(String driverName,
JobInformation jobInfo)
driverName - the name of the driver the job was submitted to.jobInfo - information about the submitted job.
public void jobRemoved(String driverName,
JobInformation jobInfo)
driverName - the name of the driver the job was submitted to.jobInfo - information about the job.
public void jobUpdated(String driverName,
JobInformation jobInfo)
driverName - the name of the driver the job was submitted to.jobInfo - information about the job.
public void subJobAdded(String driverName,
JobInformation jobInfo,
JPPFManagementInfo nodeInfo)
driverName - the name of the driver the job was submitted to.jobInfo - information about the sub-job.nodeInfo - information about the node where the sub-job was dispatched.
public void subJobRemoved(String driverName,
JobInformation jobInfo,
JPPFManagementInfo nodeInfo)
driverName - the name of the driver the job was submitted to.jobInfo - information about the job.nodeInfo - information about the node where the sub-job was dispatched.public void newConnection(ClientEvent event)
newConnection in interface ClientListenerevent - the event to notify this listener of.ClientListener.newConnection(org.jppf.client.event.ClientEvent)public void connectionFailed(ClientEvent event)
connectionFailed in interface ClientListenerevent - the event to notify this listener of.public void refreshUI()
public void setupActions()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||