-
public interface ScrollHandle
-
-
Method Summary
Modifier and Type Method Description abstract UnitsetupLayout(PDFView pdfView)Set the current scroll handler abstract UnitdestroyLayout()Destroy the scroll handler abstract UnitsetPageNum(Integer pageNum, Integer totalPages)Set the current page number abstract UnitsetScroll(Float position)Set the scroll handler to the given position abstract Unithide()Hide the scroll handler abstract Unitshow()Show the scroll handler abstract UnithideDelayed()Hide the scroll handler after a delay abstract Booleanshown()-
-
Method Detail
-
setupLayout
abstract Unit setupLayout(PDFView pdfView)
Set the current scroll handler
- Parameters:
pdfView- PDFView instance
-
destroyLayout
abstract Unit destroyLayout()
Destroy the scroll handler
-
setPageNum
abstract Unit setPageNum(Integer pageNum, Integer totalPages)
Set the current page number
- Parameters:
pageNum- The current page number (1-indexed)totalPages- The total number of pages
-
setScroll
abstract Unit setScroll(Float position)
Set the scroll handler to the given position
- Parameters:
position- Position relative to the PDFView
-
hideDelayed
abstract Unit hideDelayed()
Hide the scroll handler after a delay
-
-
-
-