uk.ac.man.bioinf.sequence.test
Class SequenceAlignmentTest

java.lang.Object
  |
  +--uk.ac.man.bioinf.sequence.test.SequenceAlignmentTest
All Implemented Interfaces:
AlignmentListener, EventListener, SequenceListener, VetoableAlignmentListener, VetoableSequenceListener

public class SequenceAlignmentTest
extends Object
implements SequenceListener, VetoableSequenceListener, AlignmentListener, VetoableAlignmentListener

SequenceAlignmentTest.java Created: Fri Mar 10 12:39:40 2000

Version:
$Id: SequenceAlignmentTest.java,v 1.5 2001/04/11 17:04:43 lord Exp $
Author:
J Selley

Method Summary
 void changeOccurred(AlignmentEvent event)
          method signalled after a change has occured to a multiple alignment
 void changeOccurred(SequenceEvent event)
          Method called when a change occurs
static void main(String[] args)
           
 void vetoableChangeOccurred(VetoableAlignmentEvent event)
          Method called before a change occurs to an alignment
 void vetoableChangeOccurred(VetoableSequenceEvent event)
          Method signalled before a prospective change occurs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)

changeOccurred

public void changeOccurred(SequenceEvent event)
Description copied from interface: SequenceListener
Method called when a change occurs

Specified by:
changeOccurred in interface SequenceListener
Parameters:
event -

vetoableChangeOccurred

public void vetoableChangeOccurred(VetoableSequenceEvent event)
                            throws SequenceVetoException
Description copied from interface: VetoableSequenceListener
Method signalled before a prospective change occurs

Specified by:
vetoableChangeOccurred in interface VetoableSequenceListener
Parameters:
event - the event
Throws:
SequenceVetoException - if the listener does not wish the event to occur.

changeOccurred

public void changeOccurred(AlignmentEvent event)
Description copied from interface: AlignmentListener
method signalled after a change has occured to a multiple alignment

Specified by:
changeOccurred in interface AlignmentListener
Parameters:
event - the event type

vetoableChangeOccurred

public void vetoableChangeOccurred(VetoableAlignmentEvent event)
                            throws AlignmentVetoException
Description copied from interface: VetoableAlignmentListener
Method called before a change occurs to an alignment

Specified by:
vetoableChangeOccurred in interface VetoableAlignmentListener
Parameters:
event -
Throws:
AlignmentVetoException