|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
nl.tudelft.simulation.naming.context.ContextNode
A node in the context.
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Nested Class Summary |
| Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode |
|
| Field Summary | |
static nl.tudelft.simulation.event.EventType |
NODE_CHANGED_EVENT
NODE_CHANGED_EVENT |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
ContextNode(ContextTreeModel treeModel,
java.lang.String name,
javax.naming.event.EventContext context,
java.lang.Class[] displayClasses,
boolean displayFields)
constructs a new ContextNode |
|
ContextNode(java.lang.Object userObject)
constructs a new ContextNode |
|
| Method Summary | |
void |
namingExceptionThrown(javax.naming.event.NamingExceptionEvent event)
|
void |
objectAdded(javax.naming.event.NamingEvent event)
|
void |
objectRemoved(javax.naming.event.NamingEvent event)
|
void |
objectRenamed(javax.naming.event.NamingEvent event)
|
| 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, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final nl.tudelft.simulation.event.EventType NODE_CHANGED_EVENT
| Constructor Detail |
public ContextNode(ContextTreeModel treeModel,
java.lang.String name,
javax.naming.event.EventContext context,
java.lang.Class[] displayClasses,
boolean displayFields)
throws javax.naming.NamingException
treeModel - the treeModelname - the namecontext - the contextdisplayClasses - the classes to displaydisplayFields - the fields to show
javax.naming.NamingException - on failurepublic ContextNode(java.lang.Object userObject)
userObject - the userObject| Method Detail |
public void objectAdded(javax.naming.event.NamingEvent event)
objectAdded in interface javax.naming.event.NamespaceChangeListener#objectAdded(javax.naming.event.NamingEvent)public void objectRemoved(javax.naming.event.NamingEvent event)
objectRemoved in interface javax.naming.event.NamespaceChangeListener#objectRemoved(javax.naming.event.NamingEvent)public void objectRenamed(javax.naming.event.NamingEvent event)
objectRenamed in interface javax.naming.event.NamespaceChangeListener#objectRenamed(javax.naming.event.NamingEvent)public void namingExceptionThrown(javax.naming.event.NamingExceptionEvent event)
namingExceptionThrown in interface javax.naming.event.NamingListener#namingExceptionThrown(javax.naming.event.NamingExceptionEvent)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||