|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.tree.DefaultMutableTreeNode | +--net.sf.bloof.metrics.FileNode
Represents a node in the source navigation tree.
Field Summary |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
FileNode(java.lang.Object aO)
Default constructor |
|
FileNode(java.lang.String aFileName,
java.lang.String aPathName)
Main constructor |
Method Summary | |
java.lang.String |
getName()
Returns the name of the file of this filenode |
java.lang.String |
getPathName()
Returns the pathname of the file |
void |
setFileName(java.lang.String aFileName)
Sets the aFileName. |
void |
setPathName(java.lang.String aPathName)
Sets the aPathName. |
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 |
public FileNode(java.lang.Object aO)
aO
- objectpublic FileNode(java.lang.String aFileName, java.lang.String aPathName)
aFileName
- name of the fileaPathName
- relative path of the file in the SCM treeMethod Detail |
public java.lang.String getName()
public java.lang.String getPathName()
public void setFileName(java.lang.String aFileName)
aFileName
- The fileName to setpublic void setPathName(java.lang.String aPathName)
aPathName
- The pathName to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |