Interface SingleOptionDialogInput.Builder

Enclosing interface:
SingleOptionDialogInput

@NonExtendable public static interface SingleOptionDialogInput.Builder
Since:
1.21.7
  • Method Details

    • width

      @Contract(value="_ -> this", mutates="this") SingleOptionDialogInput.Builder width(@Range(from=1L,to=1024L) int width)
      Sets the width of the input.
      Parameters:
      width - the width
      Returns:
      this builder
      Since:
      1.21.7
    • 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
      Since:
      1.21.7
    • build

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