public abstract class MemberNodeBase<M extends PsiElement> extends CheckedTreeNode
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<M> |
myCalled |
protected java.lang.Runnable |
myCancelCallback |
protected M |
myMethod |
protected Project |
myProject |
isChecked
Modifier | Constructor and Description |
---|---|
protected |
MemberNodeBase(M method,
java.util.Set<M> called,
Project project,
java.lang.Runnable cancelCallback) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.util.List<M> |
computeCallers() |
protected abstract MemberNodeBase<M> |
createNode(M caller,
java.util.HashSet<M> called) |
void |
customizeRenderer(ColoredTreeCellRenderer renderer) |
protected abstract void |
customizeRendererText(ColoredTreeCellRenderer renderer) |
javax.swing.tree.TreeNode |
getChildAt(int index) |
int |
getChildCount() |
PsiElement |
getElementToSearch() |
protected Condition<M> |
getFilter() |
int |
getIndex(javax.swing.tree.TreeNode aChild) |
M |
getMember() |
boolean |
isLeaf() |
void |
setEnabled(boolean enabled) |
isChecked, isEnabled, setChecked
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
protected final M extends PsiElement myMethod
protected final java.util.Set<M extends PsiElement> myCalled
protected final Project myProject
protected final java.lang.Runnable myCancelCallback
protected abstract MemberNodeBase<M> createNode(M caller, java.util.HashSet<M> called)
protected abstract java.util.List<M> computeCallers()
protected abstract void customizeRendererText(ColoredTreeCellRenderer renderer)
public javax.swing.tree.TreeNode getChildAt(int index)
getChildAt
in interface javax.swing.tree.TreeNode
getChildAt
in class javax.swing.tree.DefaultMutableTreeNode
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
getChildCount
in class javax.swing.tree.DefaultMutableTreeNode
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
isLeaf
in class javax.swing.tree.DefaultMutableTreeNode
public int getIndex(javax.swing.tree.TreeNode aChild)
getIndex
in interface javax.swing.tree.TreeNode
getIndex
in class javax.swing.tree.DefaultMutableTreeNode
public void customizeRenderer(ColoredTreeCellRenderer renderer)
public void setEnabled(boolean enabled)
setEnabled
in class CheckedTreeNode
public M getMember()
public PsiElement getElementToSearch()