public abstract class FileOrDirectoryTreeNode extends AbstractTreeNode implements VirtualFilePointerListener, Disposable
Disposable.Parent| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
myFile |
EMPTY_FILE_ARRAY, myFilterAttributesallowsChildren, children, EMPTY_ENUMERATION, parent, userObjectTOPIC| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
SimpleTextAttributes |
getAttributes() |
protected java.lang.String |
getFilePath() |
VirtualFilePointer |
getFilePointer() |
java.lang.String |
getName() |
Project |
getProject() |
boolean |
getSupportsDeletion() |
void |
setUserObject(java.lang.Object userObject) |
void |
validityChanged(VirtualFilePointer [] pointers) |
acceptFilter, applyFilter, getErrorText, getFiles, getIcon, getItemsCount, getText, getTree, getTreeModel, getVirtualFiles, setErrorText, setTree, setTreeModel, showStatisticsadd, 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, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbeforeValidityChangedpublic java.lang.String getName()
getName in class AbstractTreeNodeprotected java.lang.String getFilePath()
public void validityChanged(VirtualFilePointer [] pointers)
validityChanged in interface VirtualFilePointerListenerpublic void setUserObject(java.lang.Object userObject)
setUserObject in interface javax.swing.tree.MutableTreeNodesetUserObject in class javax.swing.tree.DefaultMutableTreeNodepublic VirtualFilePointer getFilePointer()
public SimpleTextAttributes getAttributes()
getAttributes in class AbstractTreeNodepublic boolean getSupportsDeletion()
getSupportsDeletion in class AbstractTreeNodepublic void dispose()
Disposabledispose in interface Disposablepublic Project getProject()