-
- All Superinterfaces:
PromptItem
- All Known Implementing Classes:
DefaultChoiceItem
public interface ChoiceItem extends PromptItem
Interface for choice items in the Prompter.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.CharactergetKey()Get the key associated with this choice.default booleanisDefaultChoice()Whether this choice is the default choice.-
Methods inherited from interface org.jline.prompt.PromptItem
getDisabledText, getFooter, getName, getText, isDisabled, isSelectable
-
-