Package net.md_5.bungee.api.dialog.input
Class BooleanInput
java.lang.Object
net.md_5.bungee.api.dialog.input.DialogInput
net.md_5.bungee.api.dialog.input.BooleanInput
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanInput(String key, BaseComponent label) BooleanInput(String key, BaseComponent label, boolean initial, String onTrue, String onFalse) -
Method Summary
Methods inherited from class net.md_5.bungee.api.dialog.input.DialogInput
key, type
-
Constructor Details
-
BooleanInput
-
BooleanInput
public BooleanInput(String key, BaseComponent label, boolean initial, String onTrue, String onFalse)
-
-
Method Details
-
label
-
initial
public boolean initial() -
onTrue
-
onFalse
-
label
- Returns:
this.
-
initial
- Returns:
this.
-
onTrue
- Returns:
this.
-
onFalse
- Returns:
this.
-
toString
- Overrides:
toStringin classDialogInput
-
equals
- Overrides:
equalsin classDialogInput
-
canEqual
- Overrides:
canEqualin classDialogInput
-
hashCode
public int hashCode()- Overrides:
hashCodein classDialogInput
-