org.sf.cafebabe.gadget.classtree
Class CollectionNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.sf.cafebabe.gadget.classtree.ClassTreeNode
          extended by org.sf.cafebabe.gadget.classtree.FolderNode
              extended by org.sf.cafebabe.gadget.classtree.CollectionNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class CollectionNode
extends FolderNode

This class represents collection node

Version:
1.0 02/06/2002
Author:
Alexander Shvets
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
CollectionNode(java.lang.String text, org.sf.classfile.EntryCollection entries)
          Creates new entries collection node
 
Method Summary
 org.sf.classfile.EntryCollection getEntries()
          Gets the entries collection
 
Methods inherited from class org.sf.cafebabe.gadget.classtree.ClassTreeNode
isChanged, isCorrect, setChanged, setCorrect
 
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
 

Constructor Detail

CollectionNode

public CollectionNode(java.lang.String text,
                      org.sf.classfile.EntryCollection entries)
Creates new entries collection node

Parameters:
text - the text that will be displayed on the node
entries - the entries collection
Method Detail

getEntries

public org.sf.classfile.EntryCollection getEntries()
Gets the entries collection

Returns:
the entries collection


Copyright 2006 Dream Programs Inc.. All Rights Reserved.