Interface ServerLinksType

All Superinterfaces:
DialogType

@NonExtendable public non-sealed interface ServerLinksType extends DialogType
Represents a server links dialog that displays links.
Since:
1.21.7
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    @Range(from=1L,to=1024L) int
    Returns the width of each button in the server links dialog.
    @Positive int
    Returns the number of columns to display in the server links dialog.
    Returns the action button to exit the dialog, or null if there is no exit action.
  • Method Details

    • exitAction

      @Contract(pure=true) @Nullable ActionButton exitAction()
      Returns the action button to exit the dialog, or null if there is no exit action.
      Returns:
      the exit action button, or null
      Since:
      1.21.7
    • columns

      @Contract(pure=true) @Positive int columns()
      Returns the number of columns to display in the server links dialog.
      Returns:
      the number of columns
      Since:
      1.21.7
    • buttonWidth

      @Contract(pure=true) @Range(from=1L,to=1024L) int buttonWidth()
      Returns the width of each button in the server links dialog.
      Returns:
      the width of the buttons
      Since:
      1.21.7