apollo.editor
Class ResultChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by apollo.editor.FeatureChangeEvent
          extended by apollo.editor.ResultChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class ResultChangeEvent
extends FeatureChangeEvent

A controller managed event class which signals when a change is made to a set of features and what type of change occurred. Objects interested in listening for these event should implement the FeatureChangeListener interface and register with the controller.

See Also:
Serialized Form

Field Summary
static int ANALYSIS
           
static int RESULTSET
           
static int RESULTSPAN
           
 
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
ResultChangeEvent(java.lang.Object source, SeqFeatureI changeTop, int operation, int objectClass, SeqFeatureI feature1, SeqFeatureI feature2)
           
 
Method Summary
 int getObjectClass()
          can object class be figured automatically from feature type? this works for annots
 
Methods inherited from class apollo.editor.FeatureChangeEvent
getAddedFeature, getChangedFeature, getChangeTop, getOperation, getOperationAsString, getParentFeature, getReplacedFeature, getSource, getSubpart, getUpdateDetails, hasSubpart, isAdd, isCompound, isDelete, isEndOfEditSession, isExonChange, isMerge, isMove, isRootAnnotChange, isSplit, isSync, isTranscriptChange, isUpdate, setChangeTop, setParentFeature, setReplacedFeature, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESULTSPAN

public static final int RESULTSPAN
See Also:
Constant Field Values

RESULTSET

public static final int RESULTSET
See Also:
Constant Field Values

ANALYSIS

public static final int ANALYSIS
See Also:
Constant Field Values
Constructor Detail

ResultChangeEvent

public ResultChangeEvent(java.lang.Object source,
                         SeqFeatureI changeTop,
                         int operation,
                         int objectClass,
                         SeqFeatureI feature1,
                         SeqFeatureI feature2)
Method Detail

getObjectClass

public int getObjectClass()
can object class be figured automatically from feature type? this works for annots