X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Forg%2Fbiojava%2Fdasobert%2Feventmodel%2FSequenceListener.java;h=df3a687e56f3c856ec23b96055a0d4625a69c3c4;hb=bedaaf827545d4e425c98ada89a9dfbff6fc055b;hp=9232dc9bb3cfd45dc7189d48c7b40fb7c53b634f;hpb=ac8acb905e84708b759ae1e87eaf6691d9376d57;p=jalview.git diff --git a/src/org/biojava/dasobert/eventmodel/SequenceListener.java b/src/org/biojava/dasobert/eventmodel/SequenceListener.java index 9232dc9..df3a687 100755 --- a/src/org/biojava/dasobert/eventmodel/SequenceListener.java +++ b/src/org/biojava/dasobert/eventmodel/SequenceListener.java @@ -16,35 +16,49 @@ * at: * * http://www.biojava.org/ - * + * * Created on Jun 10, 2005 * */ package org.biojava.dasobert.eventmodel; -/** An interface fore events related to selections of sequence - * position, sequence range and locking of the selection. - * +/** + * An interface fore events related to selections of sequence position, sequence + * range and locking of the selection. + * * @author Andreas Prlic - * + * */ -public interface SequenceListener -extends ObjectListener{ - - /* select a certain sequence position */ - public void selectedSeqPosition(int position); - - /** select a certain range of a sequence */ - public void selectedSeqRange(int start, int end); - - /** the current selecetion is locked and can not be changed */ - public void selectionLocked(boolean flag); - - public void newSequence(SequenceEvent e); - - /** clear what has been selected - * - * - */ - public void clearSelection(); +public interface SequenceListener extends ObjectListener +{ + + /* select a certain sequence position */ + public void selectedSeqPosition(int position); + + /** + * select a certain range of a sequence + * + * @param start + * the start + * @param end + * the end of the range + */ + public void selectedSeqRange(int start, int end); + + /** + * the current selecetion is locked and can not be changed + * + * @param flag + * true if selection should be locked + */ + public void selectionLocked(boolean flag); + + public void newSequence(SequenceEvent e); + + /** + * clear what has been selected + * + * + */ + public void clearSelection(); }