public interface PageSetStorage extends Service, GUIUpdateSource
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentIndex()
Obtains the index of the currently loaded page.
|
PageSet |
getCurrentPageSet()
Obtains the currently active page set that is used for storing the new pages
and obtaining the previous/next page.
|
int |
getTotalCount()
Obtains the total number of pages available in the current page set.
|
void |
loadNext()
Loads the next page from the current page set.
|
void |
loadPageAt(int index)
Loads the page from the storage based in its index.
|
void |
loadPrevious()
Loads the previous page from the current page set.
|
boolean |
nextPageAvailable()
Check whether a next page is available in the currently processed page set.
|
boolean |
previousPageAvailable()
Checks whether a previous page is available in the currently processed page set.
|
getDescription, getId, getNameregisterGUIUpdateListenerPageSet getCurrentPageSet()
null when no page set is activeboolean nextPageAvailable()
void loadNext()
boolean previousPageAvailable()
void loadPrevious()
int getTotalCount()
int getCurrentIndex()
void loadPageAt(int index)
index - The page index.Copyright © 2016. All rights reserved.