Package net.md_5.bungee.api.dialog
Class SimpleInputFormDialog
- java.lang.Object
-
- net.md_5.bungee.api.dialog.SimpleInputFormDialog
-
-
Constructor Summary
Constructors Constructor Description SimpleInputFormDialog(DialogBase base, DialogSubmitAction action, List<DialogInput> inputs)SimpleInputFormDialog(DialogBase base, DialogSubmitAction action, DialogInput... inputs)SimpleInputFormDialog(DialogBase base, DialogInput... inputs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogSubmitActionaction()The action/submit buttons for the dialog.SimpleInputFormDialogaction(DialogSubmitAction action)The action/submit buttons for the dialog.booleanequals(Object o)DialogBasegetBase()Gets the dialog base which contains the dialog title and other options common to all types of dialogs.inthashCode()List<DialogInput>inputs()The inputs to the dialog.SimpleInputFormDialoginputs(List<DialogInput> inputs)The inputs to the dialog.voidsetBase(DialogBase base)Sets the dialog base.StringtoString()
-
-
-
Constructor Detail
-
SimpleInputFormDialog
public SimpleInputFormDialog(DialogBase base, DialogInput... inputs)
-
SimpleInputFormDialog
public SimpleInputFormDialog(DialogBase base, DialogSubmitAction action, DialogInput... inputs)
-
SimpleInputFormDialog
public SimpleInputFormDialog(DialogBase base, DialogSubmitAction action, List<DialogInput> inputs)
-
-
Method Detail
-
getBase
public DialogBase getBase()
Description copied from interface:DialogGets the dialog base which contains the dialog title and other options common to all types of dialogs.
-
inputs
public List<DialogInput> inputs()
The inputs to the dialog. At least one input must be provided.
-
action
public DialogSubmitAction action()
The action/submit buttons for the dialog.
-
setBase
public void setBase(DialogBase base)
Description copied from interface:DialogSets the dialog base.
For internal use only as this is mandatory and should be specified in the constructor.
-
inputs
public SimpleInputFormDialog inputs(List<DialogInput> inputs)
The inputs to the dialog. At least one input must be provided.- Returns:
this.
-
action
public SimpleInputFormDialog action(DialogSubmitAction action)
The action/submit buttons for the dialog.- Returns:
this.
-
-