Preferences Editor

de.jppietsch.prefedit
Class RootTreeNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byde.jppietsch.prefedit.RootTreeNode
All Implemented Interfaces:
Cloneable, MutableTreeNode, Serializable, TreeNode

public class RootTreeNode
extends DefaultMutableTreeNode

A special tree node class is needed for the root, because there is no preferences object representing it.

Version:
$Revision: 1.2 $
Author:
Jan-Peter Pietsch
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
RootTreeNode()
          Constructs this virtual root of all preferences with two child nodes - one for the system preferences and one for the user preferences.
 
Method Summary
 String toString()
          Description of the Method
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RootTreeNode

public RootTreeNode()
             throws BackingStoreException
Constructs this virtual root of all preferences with two child nodes - one for the system preferences and one for the user preferences.

Throws:
BackingStoreException - If something goes wrong.
Method Detail

toString

public String toString()
Description of the Method

Returns:
Description of the Returned Value

Preferences Editor