Class ConsolePrompt.UiConfig

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 Object
Deprecated, for removal: This API element is subject to removal in a future version.
This class is deprecated along with ConsolePrompt. Use
invalid reference
org.jline.prompt.PrompterConfig
instead.
ConsoleUI configuration: colors, cursor pointer and selected/unselected/unavailable boxes. ConsoleUI colors are configurable using UI_COLORS environment variable
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    UiConfig(String indicator, String uncheckedBox, String checkedBox, String unavailable)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.jline.utils.AttributedString
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.jline.utils.AttributedString
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Map<org.jline.reader.LineReader.Option,Boolean>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static org.jline.utils.StyleResolver
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setCancellableFirstPrompt(boolean cancellableFirstPrompt)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    setReaderOptions(Map<org.jline.reader.LineReader.Option,Boolean> readerOptions)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.jline.utils.AttributedStyle
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.jline.utils.AttributedString
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.jline.utils.AttributedString
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UiConfig

      public UiConfig()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • UiConfig

      public UiConfig(String indicator, String uncheckedBox, String checkedBox, String unavailable)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • 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(String key)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • resourceBundle

      public 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(Map<org.jline.reader.LineReader.Option,Boolean> readerOptions)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • readerOptions

      public Map<org.jline.reader.LineReader.Option,Boolean> readerOptions()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • resolver

      public static org.jline.utils.StyleResolver resolver(String style)
      Deprecated, for removal: This API element is subject to removal in a future version.