09b039d5b8cd9d627b96456ffb135aeaeda34f9c
[jalview.git] / src / jalview / api / AlignmentRowsCollectionI.java
1 package jalview.api;
2
3 import jalview.datamodel.SequenceI;
4
5 public interface AlignmentRowsCollectionI extends Iterable<Integer>
6 {
7   /**
8    * Answers if the sequence at the given position is hidden.
9    * 
10    * @param r
11    *          the row index to check
12    * @return true if the sequence at r is hidden
13    */
14   public boolean isHidden(int r);
15
16   /**
17    * Answers the sequence at the given position in the alignment
18    * 
19    * @param r
20    *          the row index to locate
21    * @return the sequence
22    */
23   public SequenceI getSequence(int r);
24 }