org.PingOO.DLAI.lib.directorytree
Class RootNode

java.lang.Object
  |
  +--javax.swing.tree.DefaultMutableTreeNode
        |
        +--org.PingOO.DLAI.lib.directorytree.DirectoryComponent
              |
              +--org.PingOO.DLAI.lib.directorytree.DirectoryNode
                    |
                    +--org.PingOO.DLAI.lib.directorytree.RootNode
Direct Known Subclasses:
CountryNode, DepartementNode, OrganizationNode, SectionNode

public abstract class RootNode
extends DirectoryNode

Defines the component used to describe a the root node of the directory.

Since:
PingOO 2.0
Version:
2.0
Author:
Fabrice Bouyé (bouye@cur-archamps.fr)
See Also:
Serialized Form

Inner classes inherited from class javax.swing.tree.DefaultMutableTreeNode
javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration, javax.swing.tree.DefaultMutableTreeNode.PathBetweenNodesEnumeration, javax.swing.tree.DefaultMutableTreeNode.PostorderEnumeration, javax.swing.tree.DefaultMutableTreeNode.PreorderEnumeration
 
Fields inherited from class org.PingOO.DLAI.lib.directorytree.DirectoryNode
ADMINISTRATOR_ALIAS_CHILD, ALLOW_KEY, childrenAllowed, COUNTRY_NODE_CHILD, DEPARTEMENT_NODE_CHILD, LIST_GROUP_CHILD, LIST_HOME_CHILD, LIST_SHEET_CHILD, ORGANIZATION_NODE_CHILD, PEOPLE_HOME_CHILD, RESOURCE_ALIAS_CHILD, RESOURCE_GROUP_CHILD, RESOURCE_HOME_CHILD, RESOURCE_SHEET_CHILD, SECTION_NODE_CHILD, USER_ALIAS_CHILD, USER_GROUP_CHILD, USER_SHEET_CHILD
 
Fields inherited from class org.PingOO.DLAI.lib.directorytree.DirectoryComponent
accessTable, attributeVector, CREATION_DATE_KEY, DESCRIPTION_KEY, DN_SEPAPATOR, EMPTY_ARRAY_ATTRIBUTE, EXPIRATION_DATE_KEY, exportationTable, FIELD_SEPAPATOR, ICON_KEY, labelTable, MODIFICATION_DATE_KEY, modified, OBJECT_CLASS_KEY, PROGRAM_KEY, requiredVector, RESOURCE_KEY, upToDate, valueTable
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
RootNode(java.lang.String name, java.lang.String type)
          Creates a new group the default factory renderer.
 
Method Summary
 javax.swing.JPanel getPanel()
          Returns a panel that allows the user to edit the properties of this node.
 javax.swing.JPanel getRequiredPanel()
          Returns a panel that contains the minimum fields required to create the node.
 
Methods inherited from class org.PingOO.DLAI.lib.directorytree.DirectoryNode
add, administrators, children, children, children, getAllowsChildren, getAllowsChildren, insert, isLeaf, leaves, leaves, nodes, nodes, setAdministrator, setAdministrator, setAdministrator, setAllowsChildren, setAllowsChildren, setAttributeValue, setAttributeValues, setAttributeValues, setAutorization
 
Methods inherited from class org.PingOO.DLAI.lib.directorytree.DirectoryComponent
attributes, getAccessValue, getAccessValues, getAttributeLabel, getAttributeTextKeys, getAttributeValue, getAttributeValues, getDN, getExportationValue, getName, getNewDN, getRDN, getType, hasRequiredAttributes, isAccessible, isModified, isUpToDate, prepareMessage, remove, requiredAttributes, setAccessValue, setAccessValues, setAccessValues, setDefaultAccess, setDefaultExportation, setExportationValue, setModified, setName, setUpToDate
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
, breadthFirstEnumeration, children, clone, depthFirstEnumeration, 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, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, readObject, remove, removeAllChildren, removeFromParent, setParent, setUserObject, toString, writeObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

RootNode

public RootNode(java.lang.String name,
                java.lang.String type)
Creates a new group the default factory renderer.
Method Detail

getPanel

public javax.swing.JPanel getPanel()
Returns a panel that allows the user to edit the properties of this node.
Returns:
The panel which allows the user to edit the properties of this node.

getRequiredPanel

public javax.swing.JPanel getRequiredPanel()
Returns a panel that contains the minimum fields required to create the node.
Returns:
The panel that contains the minimum fields required to create the node.