public interface

OnDocumentInfoViewModeChangeListener

com.pspdfkit.ui.documentinfo.OnDocumentInfoViewModeChangeListener

Class Overview

A listener for PdfOutlineView document info mode changes. Called when entering or exiting document info editing mode. If the editing mode is not allowed, these methods will not be called. Also, they allow you to intercept the default entering/exiting edit mode by returning true from the listener's methods.

Summary

Public Methods
abstract boolean onDocumentInfoViewEditingModeEnter()
Called when the editing mode is being entered.
abstract boolean onDocumentInfoViewEditingModeExit()
Called when the editing mode is being exited.

Public Methods

public abstract boolean onDocumentInfoViewEditingModeEnter ()

Called when the editing mode is being entered. If the editing mode is not allowed, this method will not be called. The default processing can be stopped by returning true. For the default handling to be invoked, return false.

Returns
  • true to intercept the default handling, false to allow it.

public abstract boolean onDocumentInfoViewEditingModeExit ()

Called when the editing mode is being exited. If the editing mode is not allowed, this method will not be called. The default processing can be stopped by returning true. For the default handling to be invoked, return false.

Returns
  • true to intercept the default handling, false to allow it.