Uses of Class
com.ultikits.ultitools.ui.ChoiceInput
Packages that use ChoiceInput
Package
Description
Backend-independent UI intents (notice, confirm, form, choice, grid) and the service that shows them.
Internal mapping and presentation of UI intents using Paper dialogs.
-
Uses of ChoiceInput in com.ultikits.ultitools.ui
Methods in com.ultikits.ultitools.ui that return ChoiceInputModifier and TypeMethodDescriptionstatic <T> ChoiceInput<T> ChoiceInput.of(String key, Text label, List<ChoiceOption<T>> options) Uses the first option initially.static <T> ChoiceInput<T> ChoiceInput.of(String key, Text label, List<ChoiceOption<T>> options, T initial) initialmust be one of the options' values. -
Uses of ChoiceInput in com.ultikits.ultitools.ui.dialog
Methods in com.ultikits.ultitools.ui.dialog with parameters of type ChoiceInputModifier and TypeMethodDescriptionprivate static ObjectDialogAnswers.option(ChoiceInput<?> input, @Nullable String id) private DialogModel.SingleDialogMapper.single(ChoiceInput<?> input, String wireKey, net.kyori.adventure.text.Component label, org.bukkit.entity.Player viewer) Paper option entries have no tooltip field; form option tooltips are not displayed.