Interface ViewerPage<T>
- Type Parameters:
T
- the type of the viewer
- All Known Subinterfaces:
PlayerPage
- All Known Implementing Classes:
DHHologram
public interface ViewerPage<T>
An extra interface for
PagedHologram
to change the page for the viewer-
Method Summary
-
Method Details
-
setPage
Change the page for the viewer. Implementations should check if the page is valid, and if not, change it to the closest valid page, or limit the page range from 0 to the maximum page (inclusive).- Parameters:
viewer
- the viewerpage
- the page
-
getPage
Get the current page of the viewer- Parameters:
viewer
- the viewer- Returns:
- the current page
-
nextPage
Go to the next page- Parameters:
viewer
- the viewer
-
previousPage
Go to the previous page- Parameters:
viewer
- the viewer
-