public abstract class OccurenceNavigatorSupport extends java.lang.Object implements OccurenceNavigator
OccurenceNavigator.OccurenceInfo
EMPTY
Constructor and Description |
---|
OccurenceNavigatorSupport(javax.swing.JTree tree) |
Modifier and Type | Method and Description |
---|---|
protected abstract Navigatable |
createDescriptorForNode(javax.swing.tree.DefaultMutableTreeNode node) |
javax.swing.tree.DefaultMutableTreeNode |
findNextNodeAfter(javax.swing.JTree tree,
javax.swing.tree.TreeNode selectedNode,
boolean forward) |
OccurenceNavigator.OccurenceInfo |
goNextOccurence() |
OccurenceNavigator.OccurenceInfo |
goPreviousOccurence() |
boolean |
hasNextOccurence() |
boolean |
hasPreviousOccurence() |
protected boolean |
isOccurrenceNode(javax.swing.tree.DefaultMutableTreeNode node) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNextOccurenceActionName, getPreviousOccurenceActionName
public OccurenceNavigatorSupport(javax.swing.JTree tree)
protected abstract Navigatable createDescriptorForNode(javax.swing.tree.DefaultMutableTreeNode node)
protected boolean isOccurrenceNode(javax.swing.tree.DefaultMutableTreeNode node)
public OccurenceNavigator.OccurenceInfo goNextOccurence()
goNextOccurence
in interface OccurenceNavigator
public OccurenceNavigator.OccurenceInfo goPreviousOccurence()
goPreviousOccurence
in interface OccurenceNavigator
public boolean hasNextOccurence()
hasNextOccurence
in interface OccurenceNavigator
public boolean hasPreviousOccurence()
hasPreviousOccurence
in interface OccurenceNavigator
public javax.swing.tree.DefaultMutableTreeNode findNextNodeAfter(javax.swing.JTree tree, javax.swing.tree.TreeNode selectedNode, boolean forward)