public interface ExtendedEditableSequenceListDocument extends EditableSequenceListDocument
EditableSequenceListDocument but
also allows replacing sequences with new sequences or modifying the contents of individual sequences| Modifier and Type | Method and Description |
|---|---|
void |
replaceAminoAcidSequence(int index,
AminoAcidSequenceDocument newSequence)
Replaces the amino acid sequence at this index with a new sequence.
|
void |
replaceNucleotideSequence(int index,
NucleotideSequenceDocument newSequence)
Replaces the nucleotide sequence at this index with a new sequence.
|
addAminoAcidSequence, addNucleotideSequence, getOrderingRevisionNumber, removeAminoAcidSequence, removeNucleotideSequence, reorderAminoAcidSequences, reorderNucleotideSequencesgetAminoAcidSequences, getNucleotideSequencesvoid replaceNucleotideSequence(int index,
NucleotideSequenceDocument newSequence)
DefaultSequenceListDocument.replaceContents for a discussion on efficiently
handling editing large sequence lists.index - the 0-based index of the sequence to replacenewSequence - the new sequence to replace it withArrayIndexOutOfBoundsException - if index is < 0 or >= SequenceListDocument.getNucleotideSequences().size()void replaceAminoAcidSequence(int index,
AminoAcidSequenceDocument newSequence)
DefaultSequenceListDocument.replaceContents for a discussion on efficiently
handling editing large sequence lists.index - the 0-based index of the sequence to replacenewSequence - the new sequence to replace it withArrayIndexOutOfBoundsException - if index is < 0 or >= SequenceListDocument.getAminoAcidSequences().size()