public static interface

SettingsModePicker.OnModeChangedListener

com.pspdfkit.ui.settings.SettingsModePicker.OnModeChangedListener

Class Overview

On mode changed listener implemented by PdfUiImpl for reflecting the changes to page scroll, page layout, scroll direction, theme and screen timeout.

Summary

Public Methods
abstract void OnPageLayoutChange(PageLayoutMode layoutMode)
Called when there is a PageLayoutMode change.
abstract void OnScreenTimeoutChange(long screenTimeoutMillis)
Called when there is a screen timeout change.
abstract void OnScrollDirectionChange(PageScrollDirection scrollDirection)
Called when there is a PageScrollDirection change.
abstract void OnScrollModeChange(PageScrollMode scrollMode)
Called when there is a PageScrollMode change.
abstract void OnThemeChange(ThemeMode themeMode)
Called when there is a ThemeMode change.

Public Methods

public abstract void OnPageLayoutChange (PageLayoutMode layoutMode)

Called when there is a PageLayoutMode change.

Parameters
layoutMode new PageLayoutMode

public abstract void OnScreenTimeoutChange (long screenTimeoutMillis)

Called when there is a screen timeout change.

Parameters
screenTimeoutMillis new timeout for the screen in millis

public abstract void OnScrollDirectionChange (PageScrollDirection scrollDirection)

Called when there is a PageScrollDirection change.

Parameters
scrollDirection new PageScrollDirection

public abstract void OnScrollModeChange (PageScrollMode scrollMode)

Called when there is a PageScrollMode change.

Parameters
scrollMode new PageScrollMode

public abstract void OnThemeChange (ThemeMode themeMode)

Called when there is a ThemeMode change.

Parameters
themeMode new ThemeMode