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, myFilterAttributes
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
TOPIC
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, showStatistics
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, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
beforeValidityChanged
public java.lang.String getName()
getName
in class AbstractTreeNode
protected java.lang.String getFilePath()
public void validityChanged(VirtualFilePointer [] pointers)
validityChanged
in interface VirtualFilePointerListener
public void setUserObject(java.lang.Object userObject)
setUserObject
in interface javax.swing.tree.MutableTreeNode
setUserObject
in class javax.swing.tree.DefaultMutableTreeNode
public VirtualFilePointer getFilePointer()
public SimpleTextAttributes getAttributes()
getAttributes
in class AbstractTreeNode
public boolean getSupportsDeletion()
getSupportsDeletion
in class AbstractTreeNode
public void dispose()
Disposable
dispose
in interface Disposable
public Project getProject()