|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.jadice.document.AbstractDocumentEvent com.levigo.jadice.document.AbstractPageEvent com.levigo.jadice.document.PageSegmentEvent com.levigo.jadice.annotation.AnnotationPageSegmentEvent
public class AnnotationPageSegmentEvent
A semantic event which indicates the occurrence of annotation changes. This high-level event encapsulates information about the annotation changed and which type of change occurred and for annotation property changes the old and new value. If the new value is a primitive type (such as int or boolean) it must be wrapped as the corresponding java.lang.* Object type (such as Integer or Boolean). Null values may be provided for the old and the new values if their true values are not known.
The event is passed to a PageListener
or DocumentListener
object that is
registered to receive such events using the
Document.addDocumentListener(DocumentListener)
or the
Page.addPageListener(PageListener)
method.
Nested Class Summary | |
---|---|
static class |
AnnotationPageSegmentEvent.EventType
Possible event type identifiers: Property related State related Mode related Action related |
Nested classes/interfaces inherited from class com.levigo.jadice.document.PageSegmentEvent |
---|
PageSegmentEvent.Type |
Method Summary | |
---|---|
Annotation |
getAnnotation()
Gets the annotation concerned. |
AnnotationPageSegmentEvent.EventType |
getEventType()
Gets the event type of this event. See the following property identifier. |
Object |
getNewValue()
Gets the new value for the property, expressed as an Object. |
Object |
getOldValue()
Gets the old value for the property, expressed as an Object. |
String |
toString()
|
Methods inherited from class com.levigo.jadice.document.PageSegmentEvent |
---|
clone, getDamage, getDocument, getLayer, getPageSegment, getType, setDamage, setLayer, setPageSegment, setType |
Methods inherited from class com.levigo.jadice.document.AbstractPageEvent |
---|
getPage, setPage |
Methods inherited from class com.levigo.jadice.document.AbstractDocumentEvent |
---|
setDocument |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Annotation getAnnotation()
public AnnotationPageSegmentEvent.EventType getEventType()
AnnotationPageSegmentEvent.EventType
public Object getNewValue()
public Object getOldValue()
public String toString()
toString
in class Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |