|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationListener
Can be used to create a service that listens for the addition/removal of annotation on channel data.
Method Summary | |
---|---|
void |
clearAnnotations()
Called when all annotations for all channels need to be cleared. |
void |
clearAnnotations(int aChannelIdx)
Called when the annotations for a single channel need to be cleared. |
void |
onAnnotation(Annotation<?> aAnnotation)
Called for each annotation. |
Method Detail |
---|
void clearAnnotations()
Called before any annotation is added.
void clearAnnotations(int aChannelIdx)
Called before any annotation is added.
aChannelIdx
- the channel index to clear the annotation for, >= 0 && < 32.void onAnnotation(Annotation<?> aAnnotation)
aAnnotation
- the (new) annotation, cannot be null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |