Interface MultiActionType.Builder

Enclosing interface:
MultiActionType

@NonExtendable public static interface MultiActionType.Builder
A builder for creating a multi-action dialog.
  • Method Details

    • exitAction

      @Contract(value="_ -> this", mutates="this") MultiActionType.Builder exitAction(@Nullable ActionButton exitAction)
      Sets the action button to exit the dialog, or null if there is no exit action.
      Parameters:
      exitAction - the exit action button, or null
      Returns:
      the builder
    • columns

      @Contract(value="_ -> this", mutates="this") MultiActionType.Builder columns(@org.checkerframework.checker.index.qual.Positive int columns)
      Sets the number of columns to display in the dialog.
      Parameters:
      columns - the number of columns
      Returns:
      the builder
    • build

      @Contract(value="-> new", pure=true) MultiActionType build()
      Builds the multi-action dialog.
      Returns:
      a new instance