- <init>
Creates a new annotation model. The annotation is empty, i.e. does not manage
any annotations and is
- fireModelChanged
Informs all annotation model listeners that this model has been changed as
described in the annotati
- getAnnotationIterator
Returns all annotations managed by this model. cleanup indicates whether all
annotations whose assoc
- getLockObject
- modifyAnnotationPosition
Modifies the associated position of the given annotation to the given position.
If the annotation is
- addAnnotation
Adds the given annotation to this model. Associates the annotation with the
given position. If reque
- addPosition
Adds the given position to the default position category of the given document.
- cleanup
Removes all annotations from the model whose associated positions have been
deleted. If requested in
- connected
Hook method. Is called as soon as this model becomes connected to a document.
Subclasses may re-impl
- createAnnotationModelEvent
Creates and returns a new annotation model event. Subclasses may override.
- disconnected
Hook method. Is called as soon as this model becomes disconnected from its
document. Subclasses may
- getAnnotationMap
Returns the annotation map internally used by this annotation model.