apollo.gui.detailviewers.sequencealigner.actions
Class SetTranslationStartAction
java.lang.Object
javax.swing.AbstractAction
apollo.gui.detailviewers.sequencealigner.actions.SetTranslationStartAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class SetTranslationStartAction
- extends javax.swing.AbstractAction
An Action class for setting a translation start
NOTE: I'm not really sure what this actually does.
What is a translation start? and how does it relate to the feature?
- 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 |
SetTranslationStartAction
public SetTranslationStartAction(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 update
setFeature
public void setFeature(SeqFeatureI feature)
- Sets the Feature which will be affected
- Parameters:
feature - should be of type apollo.datamodel.ExonI
setSelectedBasePair
public void setSelectedBasePair(int basepair)
- The base which will become the new translation start
- Parameters:
basepair - NOTE should be within the exon region of the feature.