Class DialogInput

java.lang.Object
net.md_5.bungee.api.dialog.input.DialogInput
Direct Known Subclasses:
BooleanInput, NumberRangeInput, SingleOptionInput, TextInput

public class DialogInput extends Object
Represents a type of input which may be displayed/submitted with a form dialog.
  • Constructor Details

    • DialogInput

      public DialogInput(@NonNull @NonNull String type, @NonNull @NonNull String key)
      Creates a new DialogInput instance.
      Parameters:
      type - The internal input type.
      key - The key corresponding to this input and associated with the value submitted.
  • Method Details

    • type

      @NonNull public @NonNull String type()
      The internal input type.
    • key

      @NonNull public @NonNull String key()
      The key corresponding to this input and associated with the value submitted.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object