Package net.md_5.bungee.api.dialog
Class ServerLinksDialog
java.lang.Object
net.md_5.bungee.api.dialog.ServerLinksDialog
- All Implemented Interfaces:
Dialog
Represents a dialog which shows the links configured/sent from the server.
-
Constructor Summary
ConstructorsConstructorDescriptionServerLinksDialog(@NonNull DialogBase base) ServerLinksDialog(@NonNull DialogBase base, ActionButton action, Integer columns, Integer buttonWidth) -
Method Summary
Modifier and TypeMethodDescriptionaction()The optionalActionButtonfor this dialog.action(ActionButton action) The optionalActionButtonfor this dialog.The width of the dialog buttons (default: 150, minimum: 1, maximum: 1024).buttonWidth(Integer buttonWidth) columns()The number of columns for the dialog buttons (default: 2).booleanTheActionButtonactivated when the dialog is exited.exitAction(ActionButton exitAction) TheActionButtonactivated when the dialog is exited.@NonNull DialogBasegetBase()Gets the dialog base which contains the dialog title and other options common to all types of dialogs.inthashCode()voidsetBase(@NonNull DialogBase base) Sets the dialog base.toString()
-
Constructor Details
-
ServerLinksDialog
-
ServerLinksDialog
public ServerLinksDialog(@NonNull @NonNull DialogBase base, ActionButton action, Integer columns, Integer buttonWidth)
-
-
Method Details
-
columns
-
buttonWidth
-
getBase
Description copied from interface:DialogGets the dialog base which contains the dialog title and other options common to all types of dialogs. -
action
The optionalActionButtonfor this dialog. -
exitAction
TheActionButtonactivated when the dialog is exited. -
columns
The number of columns for the dialog buttons (default: 2). -
buttonWidth
The width of the dialog buttons (default: 150, minimum: 1, maximum: 1024). -
setBase
Description copied from interface:DialogSets the dialog base.
For internal use only as this is mandatory and should be specified in the constructor. -
action
The optionalActionButtonfor this dialog.- Returns:
this.
-
exitAction
TheActionButtonactivated when the dialog is exited.- Returns:
this.
-
toString
-
equals
-
hashCode
public int hashCode()
-