public abstract class AbstractSearchAnnotationManager
extends de.ims.icarus.util.annotation.AnnotationManager
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractSearchAnnotationManager.AnnotationDelegate |
Modifier and Type | Field and Description |
---|---|
protected static AbstractSearchAnnotationManager.AnnotationDelegate |
allAnnotationDelegate |
protected static AbstractSearchAnnotationManager.AnnotationDelegate |
firstAnnotationDelegate |
protected static AbstractSearchAnnotationManager.AnnotationDelegate |
lastAnnotationDelegate |
protected static AbstractSearchAnnotationManager.AnnotationDelegate |
noneAnnotationDelegate |
protected static AbstractSearchAnnotationManager.AnnotationDelegate |
selectedAnnotationDelegate |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSearchAnnotationManager() |
Modifier and Type | Method and Description |
---|---|
protected abstract long |
createCompositeHighlight(long[] highlights) |
protected java.lang.Object |
createDelegate(de.ims.icarus.util.annotation.AnnotationDisplayMode displayMode) |
SearchAnnotation |
getAnnotation() |
protected AbstractSearchAnnotationManager.AnnotationDelegate |
getDelegate() |
int |
getGroupId(int index) |
int |
getGroupId(int index,
java.lang.String token) |
long |
getHighlight(int index) |
boolean |
isEdgeHighlighted(int index) |
boolean |
isHighlighted(int index) |
boolean |
isNodeHighlighted(int index) |
boolean |
isTokenHighlighted(int index,
java.lang.String token) |
boolean |
isTransitiveHighlighted(int index) |
first, getAnnotationType, getDisplayedAnnotationCount, getDisplayMode, getMaxPosition, getPosition, hasAnnotation, isFirst, isLast, last, next, previous, setAnnotation, setDisplayMode, setPosition, supportsAnnotation
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
protected static final AbstractSearchAnnotationManager.AnnotationDelegate firstAnnotationDelegate
protected static final AbstractSearchAnnotationManager.AnnotationDelegate lastAnnotationDelegate
protected static final AbstractSearchAnnotationManager.AnnotationDelegate selectedAnnotationDelegate
protected static final AbstractSearchAnnotationManager.AnnotationDelegate noneAnnotationDelegate
protected static final AbstractSearchAnnotationManager.AnnotationDelegate allAnnotationDelegate
protected AbstractSearchAnnotationManager.AnnotationDelegate getDelegate()
public SearchAnnotation getAnnotation()
getAnnotation
in class de.ims.icarus.util.annotation.AnnotationManager
public int getGroupId(int index)
public int getGroupId(int index, java.lang.String token)
public boolean isHighlighted(int index)
public boolean isNodeHighlighted(int index)
public boolean isEdgeHighlighted(int index)
public boolean isTransitiveHighlighted(int index)
public long getHighlight(int index)
public boolean isTokenHighlighted(int index, java.lang.String token)
protected abstract long createCompositeHighlight(long[] highlights)
protected java.lang.Object createDelegate(de.ims.icarus.util.annotation.AnnotationDisplayMode displayMode)
createDelegate
in class de.ims.icarus.util.annotation.AnnotationManager