net.sourceforge.jconsole.swing
Class ConfigurationTreeModel

java.lang.Object
  |
  +--javax.swing.tree.DefaultTreeModel
        |
        +--net.sourceforge.jconsole.swing.ConfigurationTreeModel

public class ConfigurationTreeModel
extends javax.swing.tree.DefaultTreeModel
implements javax.swing.tree.TreeModel

Allows a treeview to display the configuration stored in the global Configuration object (singleton).

See Also:
Serialized Form

Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList, root
 
Constructor Summary
ConfigurationTreeModel(javax.swing.tree.TreeNode root)
          Constructor for the ConfigurationTreeModel object
 
Method Summary
 void addTreeModelListener(javax.swing.event.TreeModelListener l)
          Add a listener for changes in the tree model
 void removeTreeModelListener(javax.swing.event.TreeModelListener l)
          Description of the Method
 
Methods inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getPathToRoot, getPathToRoot, getRoot, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, setAsksAllowsChildren, setRoot, valueForPathChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationTreeModel

public ConfigurationTreeModel(javax.swing.tree.TreeNode root)
Constructor for the ConfigurationTreeModel object
Parameters:
root - Description of Parameter
Method Detail

addTreeModelListener

public void addTreeModelListener(javax.swing.event.TreeModelListener l)
Add a listener for changes in the tree model
Specified by:
addTreeModelListener in interface javax.swing.tree.TreeModel
Overrides:
addTreeModelListener in class javax.swing.tree.DefaultTreeModel
Parameters:
l - listener for changes

removeTreeModelListener

public void removeTreeModelListener(javax.swing.event.TreeModelListener l)
Description of the Method
Specified by:
removeTreeModelListener in interface javax.swing.tree.TreeModel
Overrides:
removeTreeModelListener in class javax.swing.tree.DefaultTreeModel
Parameters:
l - Description of Parameter