Package 

Interface ScrollHandle

    • Method Summary

      Modifier and Type Method Description
      abstract void setScroll(float position) Used to move the handle, called internally by PDFView
      abstract void setupLayout(PDFView pdfView) Method called by PDFView after setting scroll handle.Do not call this method manually.
      abstract void destroyLayout() Method called by PDFView when handle should be removed from layoutDo not call this method manually.
      abstract void setPageNum(int pageNum) Set page number displayed on handle
      abstract boolean shown() Get handle visibility
      abstract void show() Show handle
      abstract void hide() Hide handle immediately
      abstract void hideDelayed() Hide handle after some time (defined by implementation)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setScroll

         abstract void setScroll(float position)

        Used to move the handle, called internally by PDFView

        Parameters:
        position - current scroll ratio between 0 and 1
      • setupLayout

         abstract void setupLayout(PDFView pdfView)

        Method called by PDFView after setting scroll handle.Do not call this method manually.For usage sample see DefaultScrollHandle

        Parameters:
        pdfView - PDFView instance
      • destroyLayout

         abstract void destroyLayout()

        Method called by PDFView when handle should be removed from layoutDo not call this method manually.

      • setPageNum

         abstract void setPageNum(int pageNum)

        Set page number displayed on handle

        Parameters:
        pageNum - page number
      • shown

         abstract boolean shown()

        Get handle visibility

      • show

         abstract void show()

        Show handle

      • hide

         abstract void hide()

        Hide handle immediately

      • hideDelayed

         abstract void hideDelayed()

        Hide handle after some time (defined by implementation)