public class AnnotationEvent extends EventObject
AnnotationListener
,
AnnotationListModel
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Annotation |
annotation |
protected int |
index |
protected int |
readingIndex |
source
Modifier and Type | Method and Description |
---|---|
Annotation |
getAnnotation()
Returns the annotation which has changed.
|
int |
getIndex()
Returns the index of the changed annotation in the annotation model.
|
int |
getReadingIndex()
Index of the reading which changed, if this is a
readingChanged event. |
getSource, toString
protected Annotation annotation
protected int index
protected int readingIndex
public Annotation getAnnotation()
public int getIndex()
public int getReadingIndex()
readingChanged
event.
May be -1
if several or all readings changed.Copyright © 2001-2013 the JGloss developers. All Rights Reserved.