DefaultScrollHandlepublic interface ScrollHandle
| Modifier and Type | Method | Description |
|---|---|---|
void |
destroyLayout() |
Method called by PDFView when handle should be removed from layout
Do not call this method manually.
|
void |
hide() |
Hide handle immediately
|
void |
hideDelayed() |
Hide handle after some time (defined by implementation)
|
void |
setPageNum(int pageNum) |
Set page number displayed on handle
|
void |
setScroll(float position) |
Used to move the handle, called internally by PDFView
|
void |
setupLayout(PDFView pdfView) |
Method called by PDFView after setting scroll handle.
|
void |
show() |
Show handle
|
boolean |
shown() |
Get handle visibility
|
void setScroll(float position)
position - current scroll ratio between 0 and 1void setupLayout(PDFView pdfView)
DefaultScrollHandlepdfView - PDFView instancevoid destroyLayout()
void setPageNum(int pageNum)
pageNum - page numberboolean shown()
void show()
void hide()
void hideDelayed()