|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.northwestern.at.wordhoard.swing.annotations.AnnotationAdapter
public abstract class AnnotationAdapter
An annotation adapter.
An abstract adapter class for receiving annotation events.
The methods in this class are empty. This class exists as a
convenience for creating
AnnotationListener objects.
| Constructor Summary | |
|---|---|
AnnotationAdapter()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationAdapter()
| Method Detail |
|---|
public void markersShownOrHidden(boolean shown)
throws PersistenceException
markersShownOrHidden in interface AnnotationListenershown - True if markers shown, false if hidden.
PersistenceException public void panelShownOrHidden(boolean shown)
panelShownOrHidden in interface AnnotationListenershown - True if panel shown, false if hidden. public void arraySet(Attachment[] annotations)
arraySet in interface AnnotationListenerannotations - Array of annotations. public void cleared()
cleared in interface AnnotationListenerpublic void reset()
reset in interface AnnotationListener
public void annotationSet(int index,
Attachment annotation)
This method is invoked only if the annotation panel is shown.
annotationSet in interface AnnotationListenerindex - Index of annotation.annotation - Attachment. public void noAnnotationsMessageSet(java.lang.String message)
noAnnotationsMessageSet in interface AnnotationListenermessage - The no annotations message. public void extraMessageSet(java.lang.String message)
extraMessageSet in interface AnnotationListenermessage - The extra annotation message.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||