|
|||||||||
| 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.SetEndAction
public class SetEndAction
An action class for setting the start or end of a feature
| 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 | |
|---|---|
SetEndAction(java.lang.String name,
GuiCurationState curationState,
AnnotationEditor annotationEditor,
int terminus)
Constructor |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0)
Performs the update |
void |
setFeature(SeqFeatureI feature)
Sets the feature which will have its start or end updated |
void |
setSelectedBasePair(int basepair)
The base which will become the new start or end |
void |
setTerminus(int terminus)
Sets which end will be updated |
| 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 SetEndAction(java.lang.String name,
GuiCurationState curationState,
AnnotationEditor annotationEditor,
int terminus)
name - the name of this actioncurationState - the curation stateannotationEditor - the annotation editorterminus - Either DrawableAnnotationConstants.START or
DrawableAnnotationConstants.END or
DrawableAnnotationConstants.BOTHENDS| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent arg0)
public void setFeature(SeqFeatureI feature)
feature - public void setSelectedBasePair(int basepair)
basepair - NOTE should be within the exon region of the feature.public void setTerminus(int terminus)
terminus - Either DrawableAnnotationConstants.START or
DrawableAnnotationConstants.END or
DrawableAnnotationConstants.BOTHENDS
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||