JAL-904 added scrollToRow and scrollToColumn methods to javascript API and reintroduc...
[jalview.git] / src / jalview / javascript / JalviewLiteJsApi.java
index a7255b0..19b74ca 100644 (file)
@@ -400,7 +400,7 @@ public interface JalviewLiteJsApi
           String pdbEntryString, String pdbFile);
 
   /**
-   * adjust horizontal/vertical scroll to the make the given location the top left hand corner for given current view
+   * adjust horizontal/vertical scroll to make the given location the top left hand corner for the given view
    * 
    * @param alf
    * @param topRow
@@ -408,6 +408,20 @@ public interface JalviewLiteJsApi
    */
   public abstract void scrollViewToIn(AlignFrame alf, String topRow,
           String leftHandColumn);
+  /**
+   * adjust vertical scroll to make the given row the top one for given view
+   * 
+   * @param alf
+   * @param topRow
+   */
+  public abstract void scrollViewToRowIn(AlignFrame alf, String topRow);
+  /**
+   * adjust horizontal scroll to make the given column the left one in the given view
+   * 
+   * @param alf
+   * @param leftHandColumn
+   */
+  public abstract void scrollViewToColumnIn(AlignFrame alf, String leftHandColumn);
 
   /**
    *