ScrollHandle

interface ScrollHandle

An interface representing a scroll handle in a PDF previewer.

Inheritors

Properties

Link copied to clipboard
abstract val shown: Boolean

Get handle visibility.

Functions

Link copied to clipboard
abstract fun destroyLayout()

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

Link copied to clipboard
abstract fun hide()

Hide the handle immediately.

Link copied to clipboard
abstract fun hideDelayed()

Hide the handle after some time (defined by the implementation).

Link copied to clipboard
abstract fun setPageNum(pageNum: Int)

Set the page number displayed on the handle.

Link copied to clipboard
abstract fun setScroll(position: Float)

Used to move the handle, called internally by PDFView.

Link copied to clipboard
abstract fun setupLayout(pdfView: PDFView?)

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

Link copied to clipboard
abstract fun show()

Show the handle.