Interface SingleOptionDialogInput.Builder
- Enclosing interface:
SingleOptionDialogInput
A builder for creating a
SingleOptionDialogInput.
Created via DialogInput.singleOption(String, Component, List)
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theSingleOptionDialogInput.labelVisible(boolean labelVisible) Sets whether the label should be visible.width(@org.jetbrains.annotations.Range(from=1L, to=1024L) int width) Sets the width of the input.
-
Method Details
-
width
@Contract(value="_ -> this", mutates="this") SingleOptionDialogInput.Builder width(@org.jetbrains.annotations.Range(from=1L, to=1024L) int width) Sets the width of the input.- Parameters:
width- the width- Returns:
- this builder
-
labelVisible
@Contract(value="_ -> this", mutates="this") SingleOptionDialogInput.Builder labelVisible(boolean labelVisible) Sets whether the label should be visible.- Parameters:
labelVisible- whether the label should be visible- Returns:
- this builder
-
build
Builds theSingleOptionDialogInput.- Returns:
- the built dialog input
-