Class PEServerLinksDialog
java.lang.Object
io.github.projectunified.unidialog.packetevents.dialog.PEDialog<PEServerLinksDialog>
io.github.projectunified.unidialog.packetevents.dialog.PEServerLinksDialog
- All Implemented Interfaces:
AdventureDialog<com.github.retrooper.packetevents.protocol.item.ItemStack,,PEDialogBodyBuilder, PEDialogInputBuilder, PEServerLinksDialog> AdventureSupport,Dialog<com.github.retrooper.packetevents.protocol.item.ItemStack,,PEDialogBodyBuilder, PEDialogInputBuilder, PEServerLinksDialog> ServerLinksDialog<com.github.retrooper.packetevents.protocol.item.ItemStack,PEDialogBodyBuilder, PEDialogInputBuilder, PEDialog<?>, PEDialogActionBuilder, PEServerLinksDialog>
public class PEServerLinksDialog
extends PEDialog<PEServerLinksDialog>
implements ServerLinksDialog<com.github.retrooper.packetevents.protocol.item.ItemStack,PEDialogBodyBuilder,PEDialogInputBuilder,PEDialog<?>,PEDialogActionBuilder,PEServerLinksDialog>
-
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 com.github.retrooper.packetevents.protocol.dialog.DialogconstructDialog(com.github.retrooper.packetevents.protocol.dialog.CommonDialogData commonDialogData) exitAction(@Nullable Consumer<PEDialogActionBuilder> action) Set the exit action for the dialogMethods inherited from class io.github.projectunified.unidialog.packetevents.dialog.PEDialog
afterAction, body, canCloseWithEscape, externalTitle, getAction, getComponentDeserializer, getDialog, input, opener, pause, titleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.projectunified.unidialog.adventure.dialog.AdventureDialog
externalTitle, titleMethods inherited from interface io.github.projectunified.unidialog.adventure.support.AdventureSupport
deserializeMethods inherited from interface io.github.projectunified.unidialog.core.dialog.Dialog
afterAction, body, body, canCloseWithEscape, input, input, opener, pause
-
Constructor Details
-
PEServerLinksDialog
-
-
Method Details
-
exitAction
Description copied from interface:ServerLinksDialogSet the exit action for the dialog- Specified by:
exitActionin interfaceServerLinksDialog<com.github.retrooper.packetevents.protocol.item.ItemStack,PEDialogBodyBuilder, PEDialogInputBuilder, PEDialog<?>, PEDialogActionBuilder, PEServerLinksDialog> - 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:ServerLinksDialogSet the number of columns for the dialog- Specified by:
columnsin interfaceServerLinksDialog<com.github.retrooper.packetevents.protocol.item.ItemStack,PEDialogBodyBuilder, PEDialogInputBuilder, PEDialog<?>, PEDialogActionBuilder, PEServerLinksDialog> - Parameters:
columns- the number of columns to set- Returns:
- the server links dialog itself for method chaining
-
buttonWidth
Description copied from interface:ServerLinksDialogSet the width of the buttons in the dialog- Specified by:
buttonWidthin interfaceServerLinksDialog<com.github.retrooper.packetevents.protocol.item.ItemStack,PEDialogBodyBuilder, PEDialogInputBuilder, PEDialog<?>, PEDialogActionBuilder, PEServerLinksDialog> - Parameters:
buttonWidth- the width of the buttons- Returns:
- the server links dialog itself for method chaining
-
constructDialog
protected com.github.retrooper.packetevents.protocol.dialog.Dialog constructDialog(com.github.retrooper.packetevents.protocol.dialog.CommonDialogData commonDialogData) - Specified by:
constructDialogin classPEDialog<PEServerLinksDialog>
-