Interface ServerLinksType
- All Superinterfaces:
DialogType
Represents a server links dialog that displays links.
- Since:
- 1.21.7
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@Range(from=1L,to=1024L) intReturns the width of each button in the server links dialog.@Positive intcolumns()Returns the number of columns to display in the server links dialog.@Nullable ActionButtonReturns the action button to exit the dialog, or null if there is no exit action.
-
Method Details
-
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
-