gate.gui.docview
Interface AnnotationList
- All Superinterfaces:
- ActionsPublisher, DocumentView, FeatureBearer, NameBearer, Resource, Serializable, VisualResource
- All Known Implementing Classes:
- AnnotationListView
public interface AnnotationList
- extends DocumentView
Interface for document views showing a list of annotations.
getSelectionModel
ListSelectionModel getSelectionModel()
- Obtains the selection model used by this list view.
- Returns:
- a
ListSelectionModel
object.
getAnnotationAtRow
AnnotationData getAnnotationAtRow(int row)
- Provides the annotation
getRowForAnnotation
int getRowForAnnotation(AnnotationData aData)
- Returns the display row for a given annotation.
- Parameters:
aData
- the annotation for which the row is required
- Returns:
- a positive int value if the annotation is found or -1 otherwise