PdfThumbnailBarController

Thumbnail bar controller used to control properties and actions of scrollable and static thumbnail bar.

Inheritors

Functions

Link copied to clipboard
Adds a listener to be notified of visibility change.
Link copied to clipboard
abstract fun clearDocument()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the border color for the selected thumbnail in the thumbnail bar.
Link copied to clipboard
Returns the border color for the thumbnails in the thumbnail bar.
Link copied to clipboard
@IntRange(from = 1)
abstract fun getThumbnailHeight(): Int
Returns the height of the thumbnails in thumbnail bar.
Link copied to clipboard
@IntRange(from = 1)
abstract fun getThumbnailWidth(): Int
Returns the width of the thumbnails in thumbnail bar.
Link copied to clipboard
Link copied to clipboard
Returns redaction annotation preview mode, false by default.
Link copied to clipboard
Returns whether the page aspect ratio is used to determine the thumbnail width.
Link copied to clipboard
Removes a previously added visibility change listener.
Link copied to clipboard
abstract fun setBackgroundColor(@ColorInt backgroundColor: Int)
Sets the background color for the thumbnail bar.
Link copied to clipboard
abstract fun setDocument(@NonNull document: PdfDocument, @NonNull configuration: PdfConfiguration)
Link copied to clipboard
abstract fun setDrawableProviders(drawableProviders: List<PdfDrawableProvider>)
Sets PdfDrawableProviders to provide custom PdfDrawable to be displayed in a thumbnail bar page items.
Link copied to clipboard
Sets a listener to be notified of page changing events.
Link copied to clipboard
Sets redaction annotations preview as redacted.
Link copied to clipboard
abstract fun setSelectedThumbnailBorderColor(@ColorInt borderColor: Int)
Sets the border color for the selected thumbnail in the thumbnail bar.
Link copied to clipboard
abstract fun setThumbnailBorderColor(@ColorInt borderColor: Int)
Sets the border color for the thumbnails in the thumbnail bar.
Link copied to clipboard
abstract fun setThumbnailHeight(@IntRange(from = 1) thumbnailHeight: Int)
Sets the height of the thumbnails in thumbnail bar.
Link copied to clipboard
abstract fun setThumbnailWidth(@IntRange(from = 1) thumbnailWidth: Int)
Sets the width of the thumbnails in thumbnail bar.
Link copied to clipboard
abstract fun setUsePageAspectRatio(usePageAspectRatio: Boolean)
Configures the thumbnail bar to use the page aspect ratio to calculate the thumbnail width.