- java.lang.Object
-
- org.jline.consoleui.prompt.ConsolePrompt.UiConfig
-
- Enclosing class:
- ConsolePrompt
@Deprecated(since="4.0.0", forRemoval=true) public static class ConsolePrompt.UiConfig extends java.lang.ObjectDeprecated, for removal: This API element is subject to removal in a future version.This class is deprecated along with ConsolePrompt. Useorg.jline.prompt.PrompterConfiginstead.ConsoleUI configuration: colors, cursor pointer and selected/unselected/unavailable boxes. ConsoleUI colors are configurable using UI_COLORS environment variable
-
-
Constructor Summary
Constructors Constructor Description UiConfig()Deprecated, for removal: This API element is subject to removal in a future version.UiConfig(java.lang.String indicator, java.lang.String uncheckedBox, java.lang.String checkedBox, java.lang.String unavailable)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancancellableFirstPrompt()Deprecated, for removal: This API element is subject to removal in a future version.org.jline.utils.AttributedStringcheckedBox()Deprecated, for removal: This API element is subject to removal in a future version.org.jline.utils.AttributedStringindicator()Deprecated, for removal: This API element is subject to removal in a future version.java.util.Map<org.jline.reader.LineReader.Option,java.lang.Boolean>readerOptions()Deprecated, for removal: This API element is subject to removal in a future version.static org.jline.utils.StyleResolverresolver(java.lang.String style)Deprecated, for removal: This API element is subject to removal in a future version.java.util.ResourceBundleresourceBundle()Deprecated, for removal: This API element is subject to removal in a future version.voidsetCancellableFirstPrompt(boolean cancellableFirstPrompt)Deprecated, for removal: This API element is subject to removal in a future version.protected voidsetReaderOptions(java.util.Map<org.jline.reader.LineReader.Option,java.lang.Boolean> readerOptions)Deprecated, for removal: This API element is subject to removal in a future version.org.jline.utils.AttributedStylestyle(java.lang.String key)Deprecated, for removal: This API element is subject to removal in a future version.org.jline.utils.AttributedStringunavailable()Deprecated, for removal: This API element is subject to removal in a future version.org.jline.utils.AttributedStringuncheckedBox()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Constructor Detail
-
UiConfig
public UiConfig()
Deprecated, for removal: This API element is subject to removal in a future version.
-
UiConfig
public UiConfig(java.lang.String indicator, java.lang.String uncheckedBox, java.lang.String checkedBox, java.lang.String unavailable)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
indicator
public org.jline.utils.AttributedString indicator()
Deprecated, for removal: This API element is subject to removal in a future version.
-
uncheckedBox
public org.jline.utils.AttributedString uncheckedBox()
Deprecated, for removal: This API element is subject to removal in a future version.
-
checkedBox
public org.jline.utils.AttributedString checkedBox()
Deprecated, for removal: This API element is subject to removal in a future version.
-
unavailable
public org.jline.utils.AttributedString unavailable()
Deprecated, for removal: This API element is subject to removal in a future version.
-
style
public org.jline.utils.AttributedStyle style(java.lang.String key)
Deprecated, for removal: This API element is subject to removal in a future version.
-
resourceBundle
public java.util.ResourceBundle resourceBundle()
Deprecated, for removal: This API element is subject to removal in a future version.
-
cancellableFirstPrompt
public boolean cancellableFirstPrompt()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setCancellableFirstPrompt
public void setCancellableFirstPrompt(boolean cancellableFirstPrompt)
Deprecated, for removal: This API element is subject to removal in a future version.
-
setReaderOptions
protected void setReaderOptions(java.util.Map<org.jline.reader.LineReader.Option,java.lang.Boolean> readerOptions)
Deprecated, for removal: This API element is subject to removal in a future version.
-
readerOptions
public java.util.Map<org.jline.reader.LineReader.Option,java.lang.Boolean> readerOptions()
Deprecated, for removal: This API element is subject to removal in a future version.
-
resolver
public static org.jline.utils.StyleResolver resolver(java.lang.String style)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-