public class MyTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
Constructor and Description |
---|
MyTreeNode(RepItem item) |
Modifier and Type | Method and Description |
---|---|
RepItem |
getRepositoryItem() |
java.lang.String |
shortfilename(java.lang.String filename)
returns only the filename given a full path with separating '/'
|
java.lang.String |
toString() |
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
public MyTreeNode(RepItem item)
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public java.lang.String shortfilename(java.lang.String filename)
public RepItem getRepositoryItem()