Package net.md_5.bungee.api.dialog
Class MultiActionInputFormDialog
java.lang.Object
net.md_5.bungee.api.dialog.MultiActionInputFormDialog
- All Implemented Interfaces:
Dialog
Represents a dialog which contains a variety of inputs and a multiple submit
buttons at the bottom.
-
Constructor Summary
ConstructorsConstructorDescriptionMultiActionInputFormDialog(DialogBase base, List<DialogInput> inputs, List<DialogSubmitAction> actions, int columns) MultiActionInputFormDialog(DialogBase base, DialogInput input, DialogSubmitAction action) MultiActionInputFormDialog(DialogBase base, DialogInput input, DialogSubmitAction action, int columns) -
Method Summary
Modifier and TypeMethodDescriptionactions()The action/submit buttons for the dialog.actions(List<DialogSubmitAction> actions) The action/submit buttons for the dialog.intcolumns()The amount of columns (default: 2)columns(int columns) The amount of columns (default: 2)booleangetBase()Gets the dialog base which contains the dialog title and other options common to all types of dialogs.inthashCode()inputs()The inputs to the dialog.inputs(List<DialogInput> inputs) The inputs to the dialog.voidsetBase(DialogBase base) Sets the dialog base.toString()
-
Constructor Details
-
MultiActionInputFormDialog
-
MultiActionInputFormDialog
public MultiActionInputFormDialog(DialogBase base, DialogInput input, DialogSubmitAction action, int columns) -
MultiActionInputFormDialog
public MultiActionInputFormDialog(DialogBase base, List<DialogInput> inputs, List<DialogSubmitAction> actions, int columns)
-
-
Method Details
-
getBase
Description copied from interface:DialogGets the dialog base which contains the dialog title and other options common to all types of dialogs. -
inputs
The inputs to the dialog. At least one input must be provided. -
actions
The action/submit buttons for the dialog. At least one action must be provided. -
columns
public int columns()The amount of columns (default: 2) -
setBase
Description copied from interface:DialogSets the dialog base.
For internal use only as this is mandatory and should be specified in the constructor. -
inputs
The inputs to the dialog. At least one input must be provided.- Returns:
this.
-
actions
The action/submit buttons for the dialog. At least one action must be provided.- Returns:
this.
-
columns
The amount of columns (default: 2)- Returns:
this.
-
toString
-
equals
-
hashCode
public int hashCode()
-