Interface TextDialogInput

All Superinterfaces:
DialogInput

@NonExtendable public non-sealed interface TextDialogInput extends DialogInput
  • Method Details

    • width

      @Contract(pure=true) @Range(from=1L,to=1024L) int width()
      The width of the input.
      Returns:
      the width of the input
    • 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
    • initial

      @Contract(pure=true) String initial()
      The initial value of the input.
      Returns:
      the initial text
    • maxLength

      @Contract(pure=true) @Positive int maxLength()
      The format for the label (a translation key or format string).
      Returns:
      the label format
    • multiline

      The multiline options for the input, or null if not set.
      Returns:
      the multiline options