public class AnnotationListModelAdapter extends Object implements ListModel<Annotation>, AnnotationListener
Constructor and Description |
---|
AnnotationListModelAdapter(AnnotationListModel _annotations) |
Modifier and Type | Method and Description |
---|---|
void |
addListDataListener(ListDataListener listener) |
void |
annotationChanged(AnnotationEvent ae)
Triggered if the state of an annotation has changed in some way.
|
void |
annotationInserted(AnnotationEvent ae) |
void |
annotationRemoved(AnnotationEvent ae) |
Annotation |
getElementAt(int index) |
int |
getSize() |
void |
readingChanged(AnnotationEvent ae)
Triggered if a reading of an annotation has changed.
|
void |
removeListDataListener(ListDataListener listener) |
public AnnotationListModelAdapter(AnnotationListModel _annotations)
public int getSize()
getSize
in interface ListModel<Annotation>
public Annotation getElementAt(int index)
getElementAt
in interface ListModel<Annotation>
public void addListDataListener(ListDataListener listener)
addListDataListener
in interface ListModel<Annotation>
public void removeListDataListener(ListDataListener listener)
removeListDataListener
in interface ListModel<Annotation>
public void annotationInserted(AnnotationEvent ae)
annotationInserted
in interface AnnotationListener
public void annotationRemoved(AnnotationEvent ae)
annotationRemoved
in interface AnnotationListener
public void annotationChanged(AnnotationEvent ae)
AnnotationListener
annotationChanged
in interface AnnotationListener
public void readingChanged(AnnotationEvent ae)
AnnotationListener
readingChanged
in interface AnnotationListener
Copyright © 2001-2013 the JGloss developers. All Rights Reserved.