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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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, return false.

        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, return false.

        Returns:

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