Package net.md_5.bungee.api.dialog.input
Class SingleOptionInput
java.lang.Object
net.md_5.bungee.api.dialog.input.DialogInput
net.md_5.bungee.api.dialog.input.SingleOptionInput
-
Constructor Summary
ConstructorsConstructorDescriptionSingleOptionInput(String key, int width, BaseComponent label, boolean labelVisible, List<InputOption> options) SingleOptionInput(String key, BaseComponent label, InputOption... options) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()label()label(BaseComponent label) booleanlabelVisible(boolean labelVisible) options()options(List<InputOption> options) toString()intwidth()width(int width) Methods inherited from class net.md_5.bungee.api.dialog.input.DialogInput
key, type
-
Constructor Details
-
SingleOptionInput
-
SingleOptionInput
public SingleOptionInput(String key, int width, BaseComponent label, boolean labelVisible, List<InputOption> options)
-
-
Method Details
-
width
public int width() -
label
-
labelVisible
public boolean labelVisible() -
options
-
width
- Returns:
this.
-
label
- Returns:
this.
-
labelVisible
- Returns:
this.
-
options
- Returns:
this.
-
toString
- Overrides:
toStringin classDialogInput
-
equals
- Overrides:
equalsin classDialogInput
-
canEqual
- Overrides:
canEqualin classDialogInput
-
hashCode
public int hashCode()- Overrides:
hashCodein classDialogInput
-