Annotation Interface ActionButton


@Retention(RUNTIME) @Target(FIELD) public @interface ActionButton
Renders a button that invokes a no-argument method on the config object.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Stable key for the button component.
    User-facing label for the row.
    Name of the no-argument method to invoke.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Text shown inside the button.
    Optional tooltip text.
  • Element Details

    • key

      String key
      Stable key for the button component.
    • label

      String label
      User-facing label for the row.
    • tooltip

      String tooltip
      Optional tooltip text.
      Default:
      ""
    • text

      String text
      Text shown inside the button.
      Default:
      "Open"
    • method

      String method
      Name of the no-argument method to invoke.