X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Ffts%2Fapi%2FGFTSPanelI.java;h=16bf4042b2d1b8d19fc86de925b28131192f40a1;hb=refs%2Fheads%2Fmerge%2FJAL-1563_uniprot-free-text-search;hp=07ae5a16581f55d0c8ec764739cef43ccdefbb83;hpb=e1976b4025f648431974e7ddcb2be93115688abd;p=jalview.git diff --git a/src/jalview/fts/api/GFTSPanelI.java b/src/jalview/fts/api/GFTSPanelI.java index 07ae5a1..16bf404 100644 --- a/src/jalview/fts/api/GFTSPanelI.java +++ b/src/jalview/fts/api/GFTSPanelI.java @@ -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); }