net.sf.bloof.metrics
public class: FileNode [javadoc |
source]
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
net.sf.bloof.metrics.FileNode
All Implemented Interfaces:
Cloneable, MutableTreeNode, Serializable
Represents a node in the source navigation tree.
- author:
Lukasz
- Pekacki
- version:
$
- Id: FileNode.java,v 1.2 2003/06/28 06:51:40 pekacki Exp $
Constructor: |
public FileNode(Object aO) {
super(aO);
}
|
public FileNode(String aFileName,
String aPathName) {
super(aFileName);
mFileName = aFileName;
this.mPathName = aPathName;
}
Parameters:
aFileName - name of the file
aPathName - relative path of the file in the SCM tree
|
Methods from 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 from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from net.sf.bloof.metrics.FileNode Detail: |
public String getName() {
return mFileName;
}
Returns the name of the file of this filenode |
public String getPathName() {
return mPathName;
}
Returns the pathname of the file |
public void setFileName(String aFileName) {
mFileName = aFileName;
}
|
public void setPathName(String aPathName) {
mPathName = aPathName;
}
|