apollo.gui.detailviewers.sequencealigner.actions
Class CreateIntronAction
java.lang.Object
javax.swing.AbstractAction
apollo.gui.detailviewers.sequencealigner.actions.CreateIntronAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class CreateIntronAction
- extends javax.swing.AbstractAction
An Action class for creating a single base intron within an exon region.
- See Also:
- Serialized Form
| 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 |
| 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 |
CreateIntronAction
public CreateIntronAction(java.lang.String name,
GuiCurationState curationState,
AnnotationEditor annotationEditor)
- Constructor
- Parameters:
name - the name of this actioncurationState - the curation stateannotationEditor - the annotation editor
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Performs the insertion
setFeature
public void setFeature(SeqFeatureI feature)
- Sets what feature the exon will be added to
- Parameters:
feature -
setSelectedBasePair
public void setSelectedBasePair(int basepair)
- Sets the location of the one base intron
- Parameters:
basepair - genomic coordinates
The base pair should be within an exon region for the feature