|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.AbstractAction
apollo.gui.detailviewers.sequencealigner.actions.SequenceEditAction
public class SequenceEditAction
An Action class for creating a single base sequence edit. The types of edits allowed are: SequenceI.INSERTION SequenceI.DELETION SequenceI.SUBSTITUTION SequenceI.CLEAR_EDIT
| 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 | |
|---|---|
SequenceEditAction(java.lang.String name,
GuiCurationState curationState,
AnnotationEditor annotationEditor)
Constructor |
|
SequenceEditAction(java.lang.String name,
GuiCurationState curationState,
AnnotationEditor annotationEditor,
java.lang.String type)
Constructor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Performs the sequence edit |
void |
setFeature(SeqFeatureI feature)
Sets the feature to be edited |
void |
setParent(javax.swing.JComponent parent)
Sets the parent component for the dialog box that pops up |
void |
setSelectedBasePair(int basepair)
Sets the base pair to be edited |
void |
setType(java.lang.String type)
Sets the type of edit which will happen Should be one of: SequenceI.INSERTION SequenceI.DELETION SequenceI.SUBSTITUTION SequenceI.CLEAR_EDIT |
| 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 |
|---|
public SequenceEditAction(java.lang.String name,
GuiCurationState curationState,
AnnotationEditor annotationEditor)
name - the name of this actioncurationState - the curation stateannotationEditor - the annotation editor
public SequenceEditAction(java.lang.String name,
GuiCurationState curationState,
AnnotationEditor annotationEditor,
java.lang.String type)
name - the name of this actioncurationState - the curation stateannotationEditor - the annotation editortype - the type of sequence edit this action will perform| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent e)
public void setFeature(SeqFeatureI feature)
feature - public void setSelectedBasePair(int basepair)
basepair - NOTE: does this have to be within an exon region of a feature?
I don't think sopublic void setType(java.lang.String type)
type - public void setParent(javax.swing.JComponent parent)
parent -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||