Interface MultiActionType.Builder
- Enclosing interface:
MultiActionType
A builder for creating a multi-action dialog.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the multi-action dialog.columns
(@org.checkerframework.checker.index.qual.Positive int columns) Sets the number of columns to display in the dialog.exitAction
(@Nullable ActionButton exitAction) Sets the action button to exit the dialog, or null if there is no exit action.
-
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
Builds the multi-action dialog.- Returns:
- a new instance
-