JAL-1563 house keeping/updated API doc for new method added for FTS pagination
[jalview.git] / src / jalview / fts / api / GFTSPanelI.java
index 07ae5a1..16bf404 100644 (file)
@@ -93,9 +93,34 @@ public interface GFTSPanelI
    */
   public void setSearchInProgress(Boolean isSearchInProgress);
 
+  /**
+   * Action performed when previous page (<<) button is pressed pressed.
+   */
   public void prevPageAction();
 
+  /**
+   * Action performed when next page (>>) button is pressed pressed.
+   */
   public void nextPageAction();
 
+  /**
+   * Checks if the current service's search result is paginate-able
+   * 
+   * @return true means the service provides paginated results
+   */
   public boolean isPaginationEnabled();
+
+  /**
+   * Updates the 'enabled' state for the previous page button
+   * 
+   * @param isEnabled
+   */
+  public void setPrevPageButtonEnabled(boolean isEnabled);
+
+  /**
+   * Updates the 'enabled' state for the next page button
+   * 
+   * @param isEnabled
+   */
+  public void setNextPageButtonEnabled(boolean isEnabled);
 }