|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnnotationEditorOwner
Objects of this type control the interaction with an
OwnedAnnotationEditor.
| Method Summary | |
|---|---|
void |
annotationChanged(Annotation ann,
AnnotationSet set,
String oldType)
Called by the annotation editor when an annotation has been changed. |
Document |
getDocument()
Gets the document currently being edited. |
Annotation |
getNextAnnotation()
Called by the editor for obtaining the next annotation to be edited. |
Annotation |
getPreviousAnnotation()
Called by the editor for obtaining the previous annotation to be edited. |
JTextComponent |
getTextComponent()
Gets the UI component used to display the document text. |
void |
selectAnnotation(AnnotationData aData)
Called by the editor when a new annotation needs to be selected. |
| Method Detail |
|---|
Document getDocument()
Document object.JTextComponent getTextComponent()
JTextComponent object.
void annotationChanged(Annotation ann,
AnnotationSet set,
String oldType)
ann - the annotation modified (after the modification occurred).set - the parent annotation set for the annotationoldType - the old type of the annotation. This value is only set if
the annotation modification included a change of type.void selectAnnotation(AnnotationData aData)
Annotation getNextAnnotation()
Annotation value.Annotation getPreviousAnnotation()
Annotation value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||