Interface SingleOptionDialogInput.Builder

Enclosing interface:
SingleOptionDialogInput

@NonExtendable public static interface SingleOptionDialogInput.Builder
  • 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

      @Contract(value="-> new", pure=true) SingleOptionDialogInput build()
      Returns:
      the built dialog input