Uses of Interface
org.jline.prompt.ToggleBuilder
Packages that use ToggleBuilder
Package
Description
JLine Prompt API - Interactive Console Prompts for Java Applications.
Implementation classes for the JLine Prompt API.
-
Uses of ToggleBuilder in org.jline.prompt
Methods in org.jline.prompt that return ToggleBuilderModifier and TypeMethodDescriptionToggleBuilder.activeLabel(String label) Set the label for the active (on) state.default ToggleBuilderPromptBuilder.createTogglePrompt()Create a builder for toggle prompts.ToggleBuilder.defaultValue(boolean defaultValue) Set the default value.ToggleBuilder.inactiveLabel(String label) Set the label for the inactive (off) state. -
Uses of ToggleBuilder in org.jline.prompt.impl
Classes in org.jline.prompt.impl that implement ToggleBuilderModifier and TypeClassDescriptionclassDefault implementation of ToggleBuilder.Methods in org.jline.prompt.impl that return ToggleBuilderModifier and TypeMethodDescriptionDefaultToggleBuilder.activeLabel(String label) DefaultPromptBuilder.createTogglePrompt()DefaultToggleBuilder.defaultValue(boolean defaultValue) DefaultToggleBuilder.inactiveLabel(String label) DefaultToggleBuilder.transformer(Function<String, String> transformer)