public abstract class QueryTreeModel extends DefaultTreeModel
asksAllowsChildren, listenerList, root
Constructor and Description |
---|
QueryTreeModel(TopicMap topicMap,
String query,
Map<String,?> params) |
Modifier and Type | Method and Description |
---|---|
protected abstract DefaultMutableTreeNode |
createTreeNode(Object o) |
protected boolean |
filter(Object p,
Object c)
Filter method that should return true if objects should be part of result set.p
|
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged
protected boolean filter(Object p, Object c)
p
- Parent object.c
- Child object.protected abstract DefaultMutableTreeNode createTreeNode(Object o)