Class JVMHealthPanel
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.diagnostics.JVMHealthPanel
- All Implemented Interfaces:
Serializable,EventListener,org.jppf.client.monitoring.topology.TopologyListener,ActionHolder,Option,OptionElement,OptionProperties
public class JVMHealthPanel
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 the UI components for this option.voiddriverAdded(org.jppf.client.monitoring.topology.TopologyEvent event) voiddriverRemoved(org.jppf.client.monitoring.topology.TopologyEvent event) voiddriverUpdated(org.jppf.client.monitoring.topology.TopologyEvent event) Get the threshold values.voidinit()Initialize the refresh of tree structure.voidLoad the threshold values from the preferences store.voidnodeAdded(org.jppf.client.monitoring.topology.TopologyEvent event) voidnodeRemoved(org.jppf.client.monitoring.topology.TopologyEvent event) voidnodeUpdated(org.jppf.client.monitoring.topology.TopologyEvent event) voidpopulate()Create and initialize the tree table model holding the drivers and nodes data.voidSave the threshold values to the preferences store.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
-
JVMHealthPanel
public JVMHealthPanel()Initialize this panel with the specified information.
-
-
Method Details
-
init
public void init()Initialize the refresh of tree structure. -
populate
public void populate()Create and initialize the tree table model holding the drivers and nodes data. -
createUI
public void createUI()Description copied from class:AbstractOptionPropertiesCreate the UI components for this option.- 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
-
saveThresholds
public void saveThresholds()Save the threshold values to the preferences store. -
loadThresholds
public void loadThresholds()Load the threshold values from the preferences store. -
getThresholds
Get the threshold values.- Returns:
- a
Thresholdsobject.
-