public abstract class AbstractTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
Modifier and Type | Field and Description |
---|---|
protected static java.util.ArrayList<java.io.File> |
EMPTY_FILE_ARRAY |
protected SimpleTextAttributes |
myFilterAttributes |
Constructor and Description |
---|
AbstractTreeNode() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptFilter(Pair<PackageSetBase,NamedScopesHolder> filter,
boolean showOnlyFilteredItems) |
protected void |
applyFilter(boolean apply) |
abstract SimpleTextAttributes |
getAttributes() |
java.lang.String |
getErrorText() |
abstract java.util.Collection<java.io.File> |
getFiles() |
abstract javax.swing.Icon |
getIcon(boolean expanded) |
protected abstract int |
getItemsCount() |
protected abstract java.lang.String |
getName() |
abstract boolean |
getSupportsDeletion() |
java.lang.String |
getText() |
javax.swing.JTree |
getTree() |
protected javax.swing.tree.DefaultTreeModel |
getTreeModel() |
abstract java.util.Collection<VirtualFile> |
getVirtualFiles() |
void |
setErrorText(java.lang.String errorText) |
void |
setTree(javax.swing.JTree tree) |
void |
setTreeModel(javax.swing.tree.DefaultTreeModel treeModel) |
protected abstract boolean |
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, setUserObject, toString
protected static final java.util.ArrayList<java.io.File> EMPTY_FILE_ARRAY
protected SimpleTextAttributes myFilterAttributes
public void setTree(javax.swing.JTree tree)
public void setTreeModel(javax.swing.tree.DefaultTreeModel treeModel)
public void setErrorText(java.lang.String errorText)
public java.lang.String getErrorText()
protected boolean acceptFilter(Pair<PackageSetBase,NamedScopesHolder> filter, boolean showOnlyFilteredItems)
protected void applyFilter(boolean apply)
protected javax.swing.tree.DefaultTreeModel getTreeModel()
public javax.swing.JTree getTree()
public java.lang.String getText()
protected abstract java.lang.String getName()
protected abstract int getItemsCount()
protected abstract boolean showStatistics()
public abstract javax.swing.Icon getIcon(boolean expanded)
public abstract java.util.Collection<VirtualFile> getVirtualFiles()
public abstract java.util.Collection<java.io.File> getFiles()
public abstract SimpleTextAttributes getAttributes()
public abstract boolean getSupportsDeletion()