Interface SingleOptionDialogInput

All Superinterfaces:
DialogInput

@NonExtendable public non-sealed interface SingleOptionDialogInput extends DialogInput
A single option dialog input.

Created via DialogInput.singleOption(String, int, List, Component, boolean)

  • Method Details

    • width

      @Contract(pure=true) @org.jetbrains.annotations.Range(from=1L, to=1024L) int width()
      The width of the input.
      Returns:
      the width
    • entries

      @Contract(pure=true) @Unmodifiable List<SingleOptionDialogInput.OptionEntry> entries()
      The list of options for the input.
      Returns:
      the list of option entries
    • label

      @Contract(pure=true) Component label()
      The label for the input.
      Returns:
      the label component
    • labelVisible

      @Contract(pure=true) boolean labelVisible()
      Whether the label should be visible.
      Returns:
      true if the label is visible, false otherwise