Interface PrintOperation.OnUpdateCustomWidget

Enclosing class:
PrintOperation
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface PrintOperation.OnUpdateCustomWidget
  • Method Details

    • onUpdateCustomWidget

      void onUpdateCustomWidget(@Nonnull Widget widget, @Nonnull PageSetup setup, @Nonnull PrintSettings settings)
      Emitted after change of selected printer.

      The actual page setup and print settings are passed to the custom
      widget, which can actualize itself according to this change.
      Parameters:
      widget - the custom widget added in ::create-custom-widget
      setup - actual page setup
      settings - actual print settings