Interface PrintOperation.OnCustomWidgetApply

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.OnCustomWidgetApply
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted right before ::begin-print if you added
    a custom widget in the ::create-custom-widget handler.
  • Method Details

    • onCustomWidgetApply

      void onCustomWidgetApply(@Nonnull Widget widget)
      Emitted right before ::begin-print if you added
      a custom widget in the ::create-custom-widget handler.

      When you get this signal you should read the information from the
      custom widgets, as the widgets are not guaranteed to be around at a
      later time.
      Parameters:
      widget - the custom widget added in ::create-custom-widget