Package org.jppf.ui.monitoring.node
Class NodeDataPanel
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.node.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:
-
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 TypeMethodDescriptionvoidcreateUI()Create, initialize and layout the GUI components displayed in this panel.voiddriverAdded(org.jppf.client.monitoring.topology.TopologyEvent event) voiddriverRemoved(org.jppf.client.monitoring.topology.TopologyEvent event) voiddriverUpdated(org.jppf.client.monitoring.topology.TopologyEvent event) voidinit()Initialize the refresh of tree structure.booleanDetermine whether auto-refresh is on or off.voidnodeAdded(org.jppf.client.monitoring.topology.TopologyEvent event) voidnodeRemoved(org.jppf.client.monitoring.topology.TopologyEvent event) voidnodeUpdated(org.jppf.client.monitoring.topology.TopologyEvent event) voidRemove all drivers and nodes from the tree table.voidsetAutoRefresh(boolean autoRefresh) Specify whether auto-refresh is on or off.voidInitialize all actions used in the panel.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
-
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:
createUIin classAbstractOptionProperties
-
setupActions
public void setupActions()Initialize all actions used in the panel. -
driverAdded
public void driverAdded(org.jppf.client.monitoring.topology.TopologyEvent event) - Specified by:
driverAddedin interfaceorg.jppf.client.monitoring.topology.TopologyListener
-
driverRemoved
public void driverRemoved(org.jppf.client.monitoring.topology.TopologyEvent event) - Specified by:
driverRemovedin interfaceorg.jppf.client.monitoring.topology.TopologyListener
-
driverUpdated
public void driverUpdated(org.jppf.client.monitoring.topology.TopologyEvent event) - Specified by:
driverUpdatedin interfaceorg.jppf.client.monitoring.topology.TopologyListener
-
nodeAdded
public void nodeAdded(org.jppf.client.monitoring.topology.TopologyEvent event) - Specified by:
nodeAddedin interfaceorg.jppf.client.monitoring.topology.TopologyListener
-
nodeRemoved
public void nodeRemoved(org.jppf.client.monitoring.topology.TopologyEvent event) - Specified by:
nodeRemovedin interfaceorg.jppf.client.monitoring.topology.TopologyListener
-
nodeUpdated
public void nodeUpdated(org.jppf.client.monitoring.topology.TopologyEvent event) - Specified by:
nodeUpdatedin interfaceorg.jppf.client.monitoring.topology.TopologyListener
-
isAutoRefresh
public boolean isAutoRefresh()Determine whether auto-refresh is on or off.- Returns:
trueif auto refresh ison, false otherwise.
-
setAutoRefresh
public void setAutoRefresh(boolean autoRefresh) Specify whether auto-refresh is on or off.- Parameters:
autoRefresh-trueto turn auto-refresh on,falseotherwise.
-