Interface NoticeDialog<I,BB extends DialogBodyBuilder<I>,IB extends DialogInputBuilder,D extends Dialog<I,BB,IB,?>,AB extends DialogActionBuilder<D,AB>,T extends NoticeDialog<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 notice dialog itself, for method chaining
All Superinterfaces:
Dialog<I,BB,IB,T>
All Known Implementing Classes:
PaperNoticeDialog, PENoticeDialog, SpigotNoticeDialog

public interface NoticeDialog<I,BB extends DialogBodyBuilder<I>,IB extends DialogInputBuilder,D extends Dialog<I,BB,IB,?>,AB extends DialogActionBuilder<D,AB>,T extends NoticeDialog<I,BB,IB,D,AB,T>> extends Dialog<I,BB,IB,T>
Interface representing a notice dialog.
  • Method Details

    • action

      T action(Consumer<AB> action)
      Set the action of the notice dialog
      Parameters:
      action - the action to be performed
      Returns:
      the notice dialog itself for method chaining