Interface PageSelectionListener

  • All Known Implementing Classes:
    RupsController

    public interface PageSelectionListener
    Interface that has to be implemented by every class that listens to page navigation features; keys that are pressed, buttons that are pushed,...
    Since:
    iText 5.0.0 (renamed from PageNavigationListener)
    • Method Detail

      • gotoPage

        int gotoPage​(int pageNumber)
        Goes to a specific page number in a document.
        Parameters:
        pageNumber - the page number to go to
        Returns:
        the resulting page number. Can be different from pageNumber if pageNumber doesn't exist.