JAL-2388 Applied ViewportRanges to code
[jalview.git] / src / jalview / api / AlignViewportI.java
index c6312ab..bd43c60 100644 (file)
@@ -47,11 +47,13 @@ import java.util.Map;
 public interface AlignViewportI extends ViewStyleI
 {
 
-  ViewportRanges getRanges();
-  
-  int getEndRes();
-
-  int getStartRes();
+  /**
+   * Get the ranges object containing details of the start and end sequences and
+   * residues
+   * 
+   * @return
+   */
+  public ViewportRanges getRanges();
 
   /**
    * calculate the height for visible annotation, revalidating bounds where
@@ -461,8 +463,4 @@ public interface AlignViewportI extends ViewStyleI
    * @return search results or null
    */
   SearchResultsI getSearchResults();
-
-  int getStartSeq();
-
-  int getEndSeq();
 }