org.acm.seguin.ide.common
Class PackageSelectorArea.ANode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.acm.seguin.ide.common.PackageSelectorArea.ANode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
Direct Known Subclasses:
PackageSelectorArea.ModuleNode, PackageSelectorArea.PackageNode, PackageSelectorArea.RootNode
Enclosing class:
PackageSelectorArea

protected static class PackageSelectorArea.ANode
extends javax.swing.tree.DefaultMutableTreeNode

Description of the Class

Author:
Chris Seguin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
PackageSelectorArea.ANode(java.lang.String name, PackageSummary summary)
          Constructor for the ANode object
 
Method Summary
 int getLine()
          Gets the Line attribute of the ANode object
 java.lang.String getName()
          Gets the Name attribute of the ANode object
 void sort(java.util.Comparator comparator)
           
 java.lang.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

PackageSelectorArea.ANode

public PackageSelectorArea.ANode(java.lang.String name,
                                 PackageSummary summary)
Constructor for the ANode object

Parameters:
name - Description of Parameter
summary - Description of Parameter
Method Detail

getLine

public int getLine()
Gets the Line attribute of the ANode object

Returns:
The Line value

getName

public java.lang.String getName()
Gets the Name attribute of the ANode object

Returns:
The Name value

toString

public java.lang.String toString()
Description of the Method

Overrides:
toString in class javax.swing.tree.DefaultMutableTreeNode
Returns:
Description of the Returned Value

sort

public void sort(java.util.Comparator comparator)