Uses of Interface
org.jline.prompt.ChoiceBuilder
Packages that use ChoiceBuilder
Package
Description
JLine Prompt API - Interactive Console Prompts for Java Applications.
Implementation classes for the JLine Prompt API.
-
Uses of ChoiceBuilder in org.jline.prompt
Methods in org.jline.prompt that return ChoiceBuilderModifier and TypeMethodDescriptionChoiceBuilder.add()Add the current choice to the list.default ChoiceBuilderConvenience method to add a simple choice item with name, text, and key.default ChoiceBuilderConvenience method to add a choice item with name, text, key, and default state.default ChoiceBuilderConvenience method to add a choice item with all options.PromptBuilder.createChoicePrompt()Create a builder for choice prompts.ChoiceBuilder.defaultChoice(boolean defaultChoice) Set whether the current choice is the default.Set the help text for the current choice.ChoiceBuilder.key(char key) Set the key for the current choice.Create a new choice with the given ID.Set the text for the current choice. -
Uses of ChoiceBuilder in org.jline.prompt.impl
Classes in org.jline.prompt.impl that implement ChoiceBuilderModifier and TypeClassDescriptionclassDefault implementation of ChoiceBuilder.Methods in org.jline.prompt.impl that return ChoiceBuilderModifier and TypeMethodDescriptionDefaultChoiceBuilder.add()Add the current choice to the list.DefaultPromptBuilder.createChoicePrompt()DefaultChoiceBuilder.defaultChoice(boolean defaultChoice) Set whether the current choice is the default.Set the help text for the current choice.DefaultChoiceBuilder.key(char key) Set the key for the current choice.Set the message to display to the user.Set the name of this prompt.Create a new choice with the given ID.Set the text for the current choice.DefaultChoiceBuilder.transformer(Function<String, String> transformer)