public final class ScopeViewTreeModel extends BaseTreeModel<AbstractTreeNode<?>> implements InvokerSupplier
Disposable.Parent
disposed, listeners
Modifier and Type | Method and Description |
---|---|
int |
getChildCount(java.lang.Object object) |
java.util.List<AbstractTreeNode<?>> |
getChildren(java.lang.Object object) |
java.lang.Object |
getContent(java.lang.Object object) |
NamedScopeFilter |
getFilter() |
Invoker |
getInvoker() |
java.lang.Object |
getRoot() |
void |
invalidate(java.lang.Runnable onDone) |
boolean |
isLeaf(java.lang.Object object) |
void |
setComparator(java.util.Comparator<? super NodeDescriptor<?>> comparator) |
void |
setFilter(NamedScopeFilter filter) |
getChild, getIndexOfChild
addTreeModelListener, dispose, removeTreeModelListener, treeNodesChanged, treeNodesInserted, treeNodesRemoved, treeStructureChanged, valueForPathChanged
public void setComparator(java.util.Comparator<? super NodeDescriptor<?>> comparator)
public void setFilter(NamedScopeFilter filter)
public NamedScopeFilter getFilter()
public java.lang.Object getContent(java.lang.Object object)
public Invoker getInvoker()
getInvoker
in interface InvokerSupplier
public void invalidate(java.lang.Runnable onDone)
public java.lang.Object getRoot()
getRoot
in interface javax.swing.tree.TreeModel
public boolean isLeaf(java.lang.Object object)
isLeaf
in interface javax.swing.tree.TreeModel
isLeaf
in class BaseTreeModel<AbstractTreeNode<?>>
public int getChildCount(java.lang.Object object)
getChildCount
in interface javax.swing.tree.TreeModel
getChildCount
in class BaseTreeModel<AbstractTreeNode<?>>
public java.util.List<AbstractTreeNode<?>> getChildren(java.lang.Object object)
getChildren
in interface ChildrenProvider<AbstractTreeNode<?>>
object
- a tree nodenull
if they are not ready yet