|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
apollo.editor.FeatureChangeEvent
apollo.editor.AnnotationChangeEvent
apollo.editor.AnnotationCompoundEvent
public class AnnotationCompoundEvent
| Field Summary |
|---|
| Fields inherited from class apollo.editor.FeatureChangeEvent |
|---|
ADD, DELETE, logger, MERGE, parentFeature, REDRAW, REPLACE, SPLIT, SYNC |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
AnnotationCompoundEvent(CompoundTransaction ct)
Constructor It defaults the transaction to not undo |
|
| Method Summary | |
|---|---|
void |
addTransaction(CompoundTransaction trans)
|
void |
addTransaction(Transaction trans)
If compound change event, add trans to compound transaction AnnotationCompoundEvent overrides no-op |
AnnotatedFeatureI |
getAnnotTop()
returns the annot top of the first child. |
AnnotationChangeEvent |
getChildChangeEvent(int i)
Default is null. |
int |
getNumberOfChildren()
If compound event return # of child events, default 0 |
boolean |
isCompound()
whether event is a compound event - ie contains child transactions/events. |
boolean |
isEndOfEditSession()
Returns true. |
boolean |
isMove()
Move is a special case of UPDATE - updating parent subpart AnnotationUpdateEvent overrides this |
| Methods inherited from class apollo.editor.AnnotationChangeEvent |
|---|
getChangedAnnot, getChangeTop, getDeletedFeature, getOldComment, getOldId, getOldString, getParentFeature, getSubpartRank, isCommentChange, isStringChange, isUndo, setDeletedFeature, setOldComment, setOldId, setOldString, setSubpartRank, toString |
| Methods inherited from class apollo.editor.FeatureChangeEvent |
|---|
getAddedFeature, getChangedFeature, getOperation, getOperationAsString, getReplacedFeature, getSource, getSubpart, getUpdateDetails, hasSubpart, isAdd, isDelete, isExonChange, isMerge, isRootAnnotChange, isSplit, isSync, isTranscriptChange, isUpdate, setChangeTop, setParentFeature, setReplacedFeature |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationCompoundEvent(CompoundTransaction ct)
ct - - CompoundTransaction to generate the events from| Method Detail |
|---|
public boolean isCompound()
FeatureChangeEvent
isCompound in class FeatureChangeEventpublic int getNumberOfChildren()
AnnotationChangeEvent
getNumberOfChildren in class AnnotationChangeEventpublic void addTransaction(Transaction trans)
AnnotationChangeEvent
addTransaction in class AnnotationChangeEventpublic void addTransaction(CompoundTransaction trans)
public AnnotationChangeEvent getChildChangeEvent(int i)
AnnotationChangeEvent
getChildChangeEvent in class AnnotationChangeEventpublic boolean isEndOfEditSession()
isEndOfEditSession in class FeatureChangeEventpublic AnnotatedFeatureI getAnnotTop()
getAnnotTop in class AnnotationChangeEventpublic boolean isMove()
FeatureChangeEvent
isMove in class FeatureChangeEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||