apollo.gui.detailviewers.sequencealigner.actions
Class MergeExonAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by apollo.gui.detailviewers.sequencealigner.actions.MergeExonAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class MergeExonAction
extends javax.swing.AbstractAction

An Action class for merging two exons.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
MergeExonAction(java.lang.String name, GuiCurationState curationState, AnnotationEditor annotationEditor)
          Constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Performs the merge
 void setFeature(SeqFeatureI feature)
          Sets first feature of the merge
 void setMergeFeature(SeqFeatureI feature)
          Sets second feature of the merge
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeExonAction

public MergeExonAction(java.lang.String name,
                       GuiCurationState curationState,
                       AnnotationEditor annotationEditor)
Constructor

Parameters:
name - the name of this action
curationState - the curation state
annotationEditor - the annotation editor
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Performs the merge


setFeature

public void setFeature(SeqFeatureI feature)
Sets first feature of the merge

Parameters:
feature -

setMergeFeature

public void setMergeFeature(SeqFeatureI feature)
Sets second feature of the merge

Parameters:
feature -