|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationListener
An annotation listener.
The listener interface for receiving annotation model state change
events. See
AnnotationModel
for details.
Method Summary | |
---|---|
void |
annotationSet(int index,
Attachment annotation)
Invoked when a new annotation is set. |
void |
arraySet(Attachment[] annotations)
Invoked when the annotation array is set. |
void |
cleared()
Invoked when the annotations are cleared. |
void |
extraMessageSet(java.lang.String message)
Invoked when the extra annotation message is set. |
void |
markersShownOrHidden(boolean shown)
Invoked when annotation markers are shown or hidden. |
void |
noAnnotationsMessageSet(java.lang.String message)
Invoked when the no annotations message is set. |
void |
panelShownOrHidden(boolean shown)
Invoked when the annotation panel is shown or hidden. |
void |
reset()
Invoked when an annotation is edited or deleted. |
Method Detail |
---|
void markersShownOrHidden(boolean shown) throws PersistenceException
shown
- True if markers shown, false if hidden.
PersistenceException
void panelShownOrHidden(boolean shown)
shown
- True if panel shown, false if hidden. void arraySet(Attachment[] annotations)
annotations
- Array of annotations. void cleared()
void reset()
void annotationSet(int index, Attachment annotation)
This method is invoked only if the annotation panel is shown.
index
- Index of annotation.annotation
- Attachment. void noAnnotationsMessageSet(java.lang.String message)
message
- The no annotations message. void extraMessageSet(java.lang.String message)
message
- The extra annotation message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |