SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

org.sourcejammer.client.gui
Class ProjectTreeNode

java.lang.Object
  |
  +--javax.swing.tree.DefaultMutableTreeNode
        |
        +--org.sourcejammer.client.gui.ProjectTreeNode
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class ProjectTreeNode
extends javax.swing.tree.DefaultMutableTreeNode

Title: SourceJammer v 0.1.0 Description: Copyright: Copyright (c) 2001 Company:

See Also:
Serialized Form

Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
ProjectTreeNode(NodeInfo info)
           
 
Method Summary
 boolean getAllowsChildren()
           
 boolean getContentsSet()
           
 NodeIterator getFileChildren()
           
 javax.swing.table.DefaultTableModel getFileTableModel()
           
 long getFileUniqueIDFromName(java.lang.String childName)
           
 NodeInfo getInfo()
           
 NodeInfo getNodeInfo(java.lang.String fileName)
           
 NodeName getNodeName()
          Returns NodeName object build by the client.
 Project getProject()
           
 long getUniqueID()
           
 boolean isLeaf()
           
 void setContents(Project project)
           
 void setNodeName(NodeName nd)
           
 java.lang.String toString()
           
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, 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, insert, 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

ProjectTreeNode

public ProjectTreeNode(NodeInfo info)
Method Detail

getInfo

public NodeInfo getInfo()

setNodeName

public void setNodeName(NodeName nd)

getAllowsChildren

public boolean getAllowsChildren()
Overrides:
getAllowsChildren in class javax.swing.tree.DefaultMutableTreeNode

isLeaf

public boolean isLeaf()
Overrides:
isLeaf in class javax.swing.tree.DefaultMutableTreeNode

getContentsSet

public boolean getContentsSet()

getProject

public Project getProject()

getUniqueID

public long getUniqueID()

getFileUniqueIDFromName

public long getFileUniqueIDFromName(java.lang.String childName)
                             throws NodeDoesNotExistException

setContents

public void setContents(Project project)
                 throws NodeExistsException

getFileTableModel

public javax.swing.table.DefaultTableModel getFileTableModel()

toString

public java.lang.String toString()
Overrides:
toString in class javax.swing.tree.DefaultMutableTreeNode

getFileChildren

public NodeIterator getFileChildren()

getNodeInfo

public NodeInfo getNodeInfo(java.lang.String fileName)
                     throws NodeDoesNotExistException

getNodeName

public NodeName getNodeName()
Returns NodeName object build by the client.

SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan