uk.ac.man.bioinf.sequence
Class AbstractMutableSequence
java.lang.Object
|
+--uk.ac.man.bioinf.sequence.AbstractSequence
|
+--uk.ac.man.bioinf.sequence.AbstractMutableSequence
- All Implemented Interfaces:
- Identifiable, MutableSequence, Sequence, SequenceEventProvider
- Direct Known Subclasses:
- AbstractComplexSequence, AbstractEditableSequence, AbstractGappedSequence
- public abstract class AbstractMutableSequence
- extends AbstractSequence
- implements MutableSequence
AbstractMutableSequence.java
Created: Thu Mar 2 20:20:02 2000
- Version:
- $Id: AbstractMutableSequence.java,v 1.4 2001/04/11 17:04:43 lord Exp $
- Author:
- Phillip Lord
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMutableSequence
public AbstractMutableSequence(SequenceType type)
fireVetoableSequenceEvent
protected void fireVetoableSequenceEvent(VetoableSequenceEvent event)
throws SequenceVetoException
SequenceVetoException
fireSequenceEvent
protected void fireSequenceEvent(SequenceEvent event)
hasListeners
protected boolean hasListeners()
addSequenceListener
public void addSequenceListener(SequenceListener listener)
- Description copied from interface:
SequenceEventProvider
- Adds the specified sequence listener.
- Specified by:
addSequenceListener
in interface SequenceEventProvider
- Parameters:
listener
- the sequence listener
addVetoableSequenceListener
public void addVetoableSequenceListener(VetoableSequenceListener listener)
- Description copied from interface:
SequenceEventProvider
- Adds the specified vetoable sequence listener.
- Specified by:
addVetoableSequenceListener
in interface SequenceEventProvider
- Parameters:
listener
- the vetoable sequence listener
removeSequenceListener
public void removeSequenceListener(SequenceListener listener)
- Description copied from interface:
SequenceEventProvider
- Removes the specified sequence listener.
- Specified by:
removeSequenceListener
in interface SequenceEventProvider
- Parameters:
listener
- the sequence listener
removeVetoableSequenceListener
public void removeVetoableSequenceListener(VetoableSequenceListener listener)
- Description copied from interface:
SequenceEventProvider
- Removes the specified vetoable sequence listener.
- Specified by:
removeVetoableSequenceListener
in interface SequenceEventProvider
- Parameters:
listener
- the vetoable sequence listener