Class SpigotServerLinksDialog
java.lang.Object
io.github.projectunified.unidialog.spigot.dialog.SpigotDialog<SpigotServerLinksDialog>
io.github.projectunified.unidialog.spigot.dialog.SpigotServerLinksDialog
- All Implemented Interfaces:
Dialog<org.bukkit.inventory.ItemStack,
,SpigotDialogBodyBuilder, SpigotDialogInputBuilder, SpigotServerLinksDialog> ServerLinksDialog<org.bukkit.inventory.ItemStack,
SpigotDialogBodyBuilder, SpigotDialogInputBuilder, SpigotDialog<?>, SpigotDialogActionBuilder, SpigotServerLinksDialog>
public class SpigotServerLinksDialog
extends SpigotDialog<SpigotServerLinksDialog>
implements ServerLinksDialog<org.bukkit.inventory.ItemStack,SpigotDialogBodyBuilder,SpigotDialogInputBuilder,SpigotDialog<?>,SpigotDialogActionBuilder,SpigotServerLinksDialog>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.projectunified.unidialog.core.dialog.Dialog
Dialog.AfterAction
-
Field Summary
Fields inherited from interface io.github.projectunified.unidialog.core.dialog.ServerLinksDialog
DEFAULT_BUTTON_WIDTH, DEFAULT_COLUMNS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuttonWidth
(int buttonWidth) Set the width of the buttons in the dialogcolumns
(int columns) Set the number of columns for the dialogprotected net.md_5.bungee.api.dialog.Dialog
constructDialog
(net.md_5.bungee.api.dialog.DialogBase dialogBase) exitAction
(@Nullable Consumer<SpigotDialogActionBuilder> action) Set the exit action for the dialogMethods inherited from class io.github.projectunified.unidialog.spigot.dialog.SpigotDialog
afterAction, body, canCloseWithEscape, externalTitle, externalTitle, getAction, getDialog, input, opener, pause, title, title
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.projectunified.unidialog.core.dialog.Dialog
afterAction, body, body, canCloseWithEscape, externalTitle, input, input, opener, pause, title
-
Constructor Details
-
SpigotServerLinksDialog
-
-
Method Details
-
exitAction
public SpigotServerLinksDialog exitAction(@Nullable @Nullable Consumer<SpigotDialogActionBuilder> action) Description copied from interface:ServerLinksDialog
Set the exit action for the dialog- Specified by:
exitAction
in interfaceServerLinksDialog<org.bukkit.inventory.ItemStack,
SpigotDialogBodyBuilder, SpigotDialogInputBuilder, SpigotDialog<?>, SpigotDialogActionBuilder, SpigotServerLinksDialog> - Parameters:
action
- the action to be performed when exiting the dialog- Returns:
- the server links dialog itself for method chaining
-
columns
Description copied from interface:ServerLinksDialog
Set the number of columns for the dialog- Specified by:
columns
in interfaceServerLinksDialog<org.bukkit.inventory.ItemStack,
SpigotDialogBodyBuilder, SpigotDialogInputBuilder, SpigotDialog<?>, SpigotDialogActionBuilder, SpigotServerLinksDialog> - Parameters:
columns
- the number of columns to set- Returns:
- the server links dialog itself for method chaining
-
buttonWidth
Description copied from interface:ServerLinksDialog
Set the width of the buttons in the dialog- Specified by:
buttonWidth
in interfaceServerLinksDialog<org.bukkit.inventory.ItemStack,
SpigotDialogBodyBuilder, SpigotDialogInputBuilder, SpigotDialog<?>, SpigotDialogActionBuilder, SpigotServerLinksDialog> - Parameters:
buttonWidth
- the width of the buttons- Returns:
- the server links dialog itself for method chaining
-
constructDialog
protected net.md_5.bungee.api.dialog.Dialog constructDialog(net.md_5.bungee.api.dialog.DialogBase dialogBase) - Specified by:
constructDialog
in classSpigotDialog<SpigotServerLinksDialog>
-