Interface OnDocumentInfoViewModeChangeListener
-
- All Implemented Interfaces:
public interface OnDocumentInfoViewModeChangeListener
A listener for com.pspdfkit.ui.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.
-
-
Method Summary
Modifier and Type Method Description abstract boolean
onDocumentInfoViewEditingModeEnter()
Called when the editing mode is being entered. abstract boolean
onDocumentInfoViewEditingModeExit()
Called when the editing mode is being exited. -
-
Method Detail
-
onDocumentInfoViewEditingModeEnter
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, returnfalse
.- Returns:
true
to intercept the default handling,false
to allow it.
-
onDocumentInfoViewEditingModeExit
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, returnfalse
.- Returns:
true
to intercept the default handling,false
to allow it.
-
-
-
-