-
public interface ScrollHandle
-
-
Method Summary
Modifier and Type Method Description abstract voidsetScroll(float position)Used to move the handle, called internally by PDFView abstract voidsetupLayout(PDFView pdfView)Method called by PDFView after setting scroll handle.Do not call this method manually. abstract voiddestroyLayout()Method called by PDFView when handle should be removed from layoutDo not call this method manually. abstract voidsetPageNum(int pageNum)Set page number displayed on handle abstract booleanshown()Get handle visibility abstract voidshow()Show handle abstract voidhide()Hide handle immediately abstract voidhideDelayed()Hide handle after some time (defined by implementation) -
-
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)
-
-
-
-