Interface NewPageFactory.OnNewPageReadyListener

    • 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 void onNewPageReady(@NonNull() NewPage newPage) Called by the factory when a NewPage instance is ready.
      abstract void onCancelled() Called by the factory if creation of a new page was cancelled.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onNewPageReady

         abstract void onNewPageReady(@NonNull() NewPage newPage)

        Called by the factory when a NewPage instance is ready. If the factory is backed by a user interface, this should usually be called when the user confirmed his settings.

        Parameters:
        newPage - NewPage instance that should be added to the document.
      • onCancelled

         abstract void onCancelled()

        Called by the factory if creation of a new page was cancelled. This usually happens due to user interaction, if the user decided to not create a page inside a user interface.