Interface TextDialogInput.MultilineOptions

Enclosing interface:
TextDialogInput

@NonExtendable public static interface TextDialogInput.MultilineOptions
Represents the multiline options for a text dialog input.
  • Method Details

    • create

      static TextDialogInput.MultilineOptions create(@Positive @Nullable Integer maxLines, @Range(from=1L,to=512L) @Nullable Integer height)
      Creates a new multiline options instance.
      Parameters:
      maxLines - the maximum number of lines, or null if not set
      height - the height of the input, or null if not set
      Returns:
      a new MultilineOptions instance
    • maxLines

      @Contract(pure=true) @Positive @Nullable Integer maxLines()
      Gets the maximum number of lines.
      Returns:
      the maximum number of lines, or null if not set
    • height

      @Contract(pure=true) @Range(from=1L,to=512L) @Nullable Integer height()
      Gets the height of the input.
      Returns:
      the height of the input, or null if not set