Class SimpleInputFormDialog

java.lang.Object
net.md_5.bungee.api.dialog.SimpleInputFormDialog
All Implemented Interfaces:
Dialog

public final class SimpleInputFormDialog extends Object implements Dialog
Represents a dialog which contains a variety of inputs and a single submit button at the bottom.
  • Constructor Details

  • Method Details

    • getBase

      public DialogBase getBase()
      Description copied from interface: Dialog
      Gets the dialog base which contains the dialog title and other options common to all types of dialogs.
      Specified by:
      getBase in interface Dialog
      Returns:
      mutable reference to the dialog base
    • 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: Dialog
      Sets the dialog base.
      For internal use only as this is mandatory and should be specified in the constructor.
      Specified by:
      setBase in interface Dialog
      Parameters:
      base - the new dialog base
    • 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.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object