Interface ServerLinksDialog<I,BB extends DialogBodyBuilder<I>,IB extends DialogInputBuilder,D extends Dialog<I,BB,IB,?>,AB extends DialogActionBuilder<D,AB>,T extends ServerLinksDialog<I,BB,IB,D,AB,T>>

Type Parameters:
I - the type of the item for the item body
BB - the type of the dialog body builder
IB - the type of the dialog input builder
D - the type of the base dialog
AB - the type of the dialog action builder
T - the type of the server links dialog itself, for method chaining
All Superinterfaces:
Dialog<I,BB,IB,T>
All Known Implementing Classes:
PaperServerLinksDialog, PEServerLinksDialog, SpigotServerLinksDialog

public interface ServerLinksDialog<I,BB extends DialogBodyBuilder<I>,IB extends DialogInputBuilder,D extends Dialog<I,BB,IB,?>,AB extends DialogActionBuilder<D,AB>,T extends ServerLinksDialog<I,BB,IB,D,AB,T>> extends Dialog<I,BB,IB,T>
Interface representing a server links dialog.
  • Field Details

  • Method Details

    • exitAction

      T exitAction(@Nullable @Nullable Consumer<AB> action)
      Set the exit action for the dialog
      Parameters:
      action - the action to be performed when exiting the dialog
      Returns:
      the server links dialog itself for method chaining
    • columns

      T columns(int columns)
      Set the number of columns for the dialog
      Parameters:
      columns - the number of columns to set
      Returns:
      the server links dialog itself for method chaining
    • buttonWidth

      T buttonWidth(int buttonWidth)
      Set the width of the buttons in the dialog
      Parameters:
      buttonWidth - the width of the buttons
      Returns:
      the server links dialog itself for method chaining