patch for NPE (not clear if NPE is evidence of deeper bug in feature renderer state)
[jalview.git] / src / org / biojava / dasobert / eventmodel / SequenceListener.java
index 9232dc9..df3a687 100755 (executable)
  * 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();
 }