|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
madkit.TreeTools.GenericTreeNode
madkit.TreeTools.AbstractFileNode
public class AbstractFileNode
Field Summary | |
---|---|
protected Entry |
entry
|
protected java.io.File |
file
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
AbstractFileNode(Entry _entry)
|
|
AbstractFileNode(java.io.File _file)
|
Method Summary | |
---|---|
Entry |
getEntry()
|
java.io.File |
getFile()
|
static java.lang.String |
getNameFromPath(java.lang.String s)
|
void |
setEntry(Entry entry)
|
void |
setFile(java.io.File file)
|
Methods inherited from class madkit.TreeTools.GenericTreeNode |
---|
execute, getBranchIcon, getDescriptor, getLeafIcon, setDescriptor |
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 |
Field Detail |
---|
protected java.io.File file
protected Entry entry
Constructor Detail |
---|
public AbstractFileNode(java.io.File _file)
public AbstractFileNode(Entry _entry)
Method Detail |
---|
public static java.lang.String getNameFromPath(java.lang.String s)
public Entry getEntry()
public void setEntry(Entry entry)
entry
- The entry to set.public java.io.File getFile()
public void setFile(java.io.File file)
file
- The file to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |