Package net.md_5.bungee.api.dialog
Class SimpleInputFormDialog
java.lang.Object
net.md_5.bungee.api.dialog.SimpleInputFormDialog
- All Implemented Interfaces:
Dialog
Represents a dialog which contains a variety of inputs and a single submit
button at the bottom.
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleInputFormDialog(DialogBase base, DialogSubmitAction action, List<DialogInput> inputs) SimpleInputFormDialog(DialogBase base, DialogSubmitAction action, DialogInput... inputs) SimpleInputFormDialog(DialogBase base, DialogInput... inputs) -
Method Summary
Modifier and TypeMethodDescriptionaction()The action/submit buttons for the dialog.action(DialogSubmitAction action) The action/submit buttons for the dialog.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
-
SimpleInputFormDialog
-
SimpleInputFormDialog
-
SimpleInputFormDialog
-
-
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. -
action
The action/submit buttons for the dialog. -
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.
-
action
The action/submit buttons for the dialog.- Returns:
this.
-
toString
-
equals
-
hashCode
public int hashCode()
-