Uses of Class
org.jline.utils.AttributedString
Packages that use AttributedString
Package
Description
JLine 3.
JLine 3.
-
Uses of AttributedString in org.jline.builtins
Fields in org.jline.builtins with type parameters of type AttributedStringMethods in org.jline.builtins that return AttributedStringModifier and TypeMethodDescription(package private) AttributedString
Less.getLine
(int line) static AttributedString
Options.HelpException.highlight
(String msg, StyleResolver resolver) SyntaxHighlighter.highlight
(AttributedString attributedString) SyntaxHighlighter.highlight
(AttributedStringBuilder asb) static AttributedString
Options.HelpException.highlightComment
(String comment, StyleResolver resolver) static AttributedString
Options.HelpException.highlightSyntax
(String syntax, StyleResolver resolver) static AttributedString
Options.HelpException.highlightSyntax
(String syntax, StyleResolver resolver, boolean subcommands) private AttributedString
SyntaxHighlighter.splitAndHighlight
(AttributedString attributedString) Methods in org.jline.builtins that return types with arguments of type AttributedStringModifier and TypeMethodDescriptionprotected List
<AttributedString> Nano.computeFooter()
(package private) List
<AttributedString> Nano.Buffer.computeHeader()
(package private) List
<AttributedString> Nano.Buffer.getDisplayedLines
(int nbLines) private Less.Pair
<Integer, AttributedString> Less.nextLine2display
(int line, Pattern dpCompiled) private Less.Pair
<Integer, AttributedString> Less.prevLine2display
(int line, Pattern dpCompiled) Methods in org.jline.builtins with parameters of type AttributedStringModifier and TypeMethodDescriptionprivate AttributedStringBuilder
SyntaxHighlighter._highlight
(AttributedString line, List<SyntaxHighlighter.HighlightRule> rules) private AttributedStringBuilder
SyntaxHighlighter._highlight
(AttributedString line, List<SyntaxHighlighter.HighlightRule> rules, CharSequence startWith, CharSequence continueAs) SyntaxHighlighter.highlight
(AttributedString attributedString) private AttributedString
SyntaxHighlighter.splitAndHighlight
(AttributedString attributedString) private boolean
Less.toBeDisplayed
(AttributedString curLine, Pattern dpCompiled) -
Uses of AttributedString in org.jline.console
Fields in org.jline.console with type parameters of type AttributedStringModifier and TypeFieldDescriptionprivate final List
<AttributedString> ArgDesc.description
private List
<AttributedString> CmdDesc.mainDesc
private TreeMap
<String, List<AttributedString>> CmdDesc.optsDesc
Methods in org.jline.console that return AttributedStringMethods in org.jline.console that return types with arguments of type AttributedStringModifier and TypeMethodDescriptionArgDesc.getDescription()
CmdDesc.getMainDesc()
CmdDesc.getOptsDesc()
Method parameters in org.jline.console with type arguments of type AttributedStringModifier and TypeMethodDescriptionCmdDesc.mainDesc
(List<AttributedString> mainDesc) void
CmdDesc.setMainDesc
(List<AttributedString> mainDesc) Constructor parameters in org.jline.console with type arguments of type AttributedStringModifierConstructorDescriptionArgDesc
(String name, List<AttributedString> description) CmdDesc
(List<AttributedString> mainDesc, List<ArgDesc> argsDesc, Map<String, List<AttributedString>> optsDesc) CmdDesc
(List<AttributedString> mainDesc, List<ArgDesc> argsDesc, Map<String, List<AttributedString>> optsDesc) -
Uses of AttributedString in org.jline.console.impl
Fields in org.jline.console.impl with type parameters of type AttributedStringModifier and TypeFieldDescriptionprivate Map
<String, Function<Object, AttributedString>> DefaultPrinter.highlightValue
Methods in org.jline.console.impl that return AttributedStringModifier and TypeMethodDescriptionprivate AttributedString
DefaultPrinter.addPadding
(AttributedString str, int width) protected AttributedString
SystemHighlighter.doCommandHighlight
(String buffer) protected AttributedString
SystemHighlighter.doFileArgsHighlight
(LineReader reader, String buffer, List<String> words, SystemHighlighter.FileHighlightCommand fhc) protected AttributedString
SystemHighlighter.doFileOptsHighlight
(LineReader reader, String buffer, List<String> words, SystemHighlighter.FileHighlightCommand fhc) private AttributedString
DefaultPrinter.highlight
(Integer width, SyntaxHighlighter highlighter, String object, boolean doValueHighlight) private AttributedString
SystemHighlighter.highlight
(LineReader reader, String buffer) private static AttributedString
JlineCommandRegistry.highlightComment
(String comment) private AttributedString
private AttributedString
protected AttributedString
SystemHighlighter.systemHighlight
(LineReader reader, String buffer) private AttributedString
DefaultPrinter.truncateValue
(Map<String, Object> options, AttributedString value) Methods in org.jline.console.impl with parameters of type AttributedStringModifier and TypeMethodDescriptionprivate AttributedString
DefaultPrinter.addPadding
(AttributedString str, int width) private boolean
DefaultPrinter.isHighlighted
(AttributedString value) private void
DefaultPrinter.println
(AttributedString line, int maxrows) private AttributedString
DefaultPrinter.truncateValue
(Map<String, Object> options, AttributedString value) Method parameters in org.jline.console.impl with type arguments of type AttributedStringModifier and TypeMethodDescriptionvoid
DefaultPrinter.setHighlightValue
(Map<String, Function<Object, AttributedString>> highlightValue) Highlight column value -
Uses of AttributedString in org.jline.consoleui.elements
Fields in org.jline.consoleui.elements with type parameters of type AttributedStringMethods in org.jline.consoleui.elements that return types with arguments of type AttributedStringConstructor parameters in org.jline.consoleui.elements with type arguments of type AttributedString -
Uses of AttributedString in org.jline.consoleui.prompt
Fields in org.jline.consoleui.prompt declared as AttributedStringModifier and TypeFieldDescriptionprivate final AttributedString
ConsolePrompt.UiConfig.checkedBox
private final AttributedString
ConsolePrompt.UiConfig.indicator
private final AttributedString
AbstractPrompt.message
private final AttributedString
ConsolePrompt.UiConfig.unavailable
private final AttributedString
ConsolePrompt.UiConfig.uncheckedBox
Fields in org.jline.consoleui.prompt with type parameters of type AttributedStringModifier and TypeFieldDescriptionprivate final List
<AttributedString> AbstractPrompt.header
protected List
<AttributedString> ConsolePrompt.header
Methods in org.jline.consoleui.prompt that return AttributedStringModifier and TypeMethodDescriptionConsolePrompt.UiConfig.checkedBox()
ConsolePrompt.UiConfig.indicator()
private static AttributedString
ConsolePrompt.UiConfig.toAttributedString
(StyleResolver resolver, String string, String styleKey) ConsolePrompt.UiConfig.unavailable()
ConsolePrompt.UiConfig.uncheckedBox()
Methods in org.jline.consoleui.prompt that return types with arguments of type AttributedStringModifier and TypeMethodDescriptionprivate List
<AttributedString> AbstractPrompt.displayLines
(int cursorRow, int candidatesColumn, AttributedString buffer, List<Candidate> candidates) private List
<AttributedString> AbstractPrompt.displayLines
(int cursorRow, Set<String> selected) private List
<AttributedString> AbstractPrompt.displayLines
(int cursorRow, AttributedString buffer, boolean newline) Methods in org.jline.consoleui.prompt with parameters of type AttributedStringModifier and TypeMethodDescriptionprivate List
<AttributedString> AbstractPrompt.displayLines
(int cursorRow, int candidatesColumn, AttributedString buffer, List<Candidate> candidates) private List
<AttributedString> AbstractPrompt.displayLines
(int cursorRow, AttributedString buffer, boolean newline) AbstractPrompt.CheckboxPrompt.getPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, List<CheckboxItemIF> checkboxItemList, int pageSize, ConsolePrompt.UiConfig cfg) static AbstractPrompt.ConfirmPrompt
AbstractPrompt.ConfirmPrompt.getPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, ConfirmChoice confirmChoice, ConsolePrompt.UiConfig cfg) AbstractPrompt.ExpandableChoicePrompt.getPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, ExpandableChoice expandableChoice, ConsolePrompt.UiConfig cfg) AbstractPrompt.InputValuePrompt.getPrompt
(LineReader reader, Terminal terminal, List<AttributedString> header, AttributedString message, InputValue inputValue, ConsolePrompt.UiConfig cfg) static <T extends ListItemIF>
AbstractPrompt.ListChoicePrompt<T> AbstractPrompt.ListChoicePrompt.getPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, List<T> listItems, int pageSize, ConsolePrompt.UiConfig cfg) Method parameters in org.jline.consoleui.prompt with type arguments of type AttributedStringModifier and TypeMethodDescriptionAbstractPrompt.CheckboxPrompt.getPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, List<CheckboxItemIF> checkboxItemList, int pageSize, ConsolePrompt.UiConfig cfg) static AbstractPrompt.ConfirmPrompt
AbstractPrompt.ConfirmPrompt.getPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, ConfirmChoice confirmChoice, ConsolePrompt.UiConfig cfg) AbstractPrompt.ExpandableChoicePrompt.getPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, ExpandableChoice expandableChoice, ConsolePrompt.UiConfig cfg) AbstractPrompt.InputValuePrompt.getPrompt
(LineReader reader, Terminal terminal, List<AttributedString> header, AttributedString message, InputValue inputValue, ConsolePrompt.UiConfig cfg) static <T extends ListItemIF>
AbstractPrompt.ListChoicePrompt<T> AbstractPrompt.ListChoicePrompt.getPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, List<T> listItems, int pageSize, ConsolePrompt.UiConfig cfg) ConsolePrompt.prompt
(List<AttributedString> headerIn, Function<Map<String, PromptResultItemIF>, List<PromptableElementIF>> promptableElementLists) Prompt a list of choices (questions).ConsolePrompt.prompt
(List<AttributedString> header, List<PromptableElementIF> promptableElementList) Prompt a list of choices (questions).protected void
ConsolePrompt.prompt
(List<AttributedString> headerIn, List<PromptableElementIF> promptableElementList, Map<String, PromptResultItemIF> resultMap) Prompt a list of choices (questions).protected PromptResultItemIF
ConsolePrompt.promptElement
(List<AttributedString> header, PromptableElementIF pe, PromptResultItemIF oldResult) Constructors in org.jline.consoleui.prompt with parameters of type AttributedStringModifierConstructorDescriptionAbstractPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, List<T> items, int pageSize, ConsolePrompt.UiConfig cfg) AbstractPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, ConsolePrompt.UiConfig cfg) private
CheckboxPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, List<CheckboxItemIF> checkboxItemList, int pageSize, ConsolePrompt.UiConfig cfg) private
ConfirmPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, ConfirmChoice confirmChoice, ConsolePrompt.UiConfig cfg) private
ExpandableChoicePrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, ExpandableChoice expandableChoice, ConsolePrompt.UiConfig cfg) private
InputValuePrompt
(LineReader reader, Terminal terminal, List<AttributedString> header, AttributedString message, InputValue inputValue, ConsolePrompt.UiConfig cfg) private
ListChoicePrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, List<T> listItems, int pageSize, ConsolePrompt.UiConfig cfg) Constructor parameters in org.jline.consoleui.prompt with type arguments of type AttributedStringModifierConstructorDescriptionAbstractPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, List<T> items, int pageSize, ConsolePrompt.UiConfig cfg) AbstractPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, ConsolePrompt.UiConfig cfg) private
CheckboxPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, List<CheckboxItemIF> checkboxItemList, int pageSize, ConsolePrompt.UiConfig cfg) private
ConfirmPrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, ConfirmChoice confirmChoice, ConsolePrompt.UiConfig cfg) private
ExpandableChoicePrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, ExpandableChoice expandableChoice, ConsolePrompt.UiConfig cfg) private
InputValuePrompt
(LineReader reader, Terminal terminal, List<AttributedString> header, AttributedString message, InputValue inputValue, ConsolePrompt.UiConfig cfg) private
ListChoicePrompt
(Terminal terminal, List<AttributedString> header, AttributedString message, List<T> listItems, int pageSize, ConsolePrompt.UiConfig cfg) -
Uses of AttributedString in org.jline.consoleui.prompt.builder
Fields in org.jline.consoleui.prompt.builder with type parameters of type AttributedStringMethods in org.jline.consoleui.prompt.builder with parameters of type AttributedStringModifier and TypeMethodDescriptionTextBuilder.addLine
(AttributedString text) TextBuilder.addLines
(AttributedString... lines) -
Uses of AttributedString in org.jline.curses
Methods in org.jline.curses with parameters of type AttributedString -
Uses of AttributedString in org.jline.curses.impl
Methods in org.jline.curses.impl that return AttributedStringModifier and TypeMethodDescriptionprivate AttributedString
DefaultTheme.createBoxString
(String chars, int w, AttributedStyle s0, int c0, AttributedStyle s1, int c1, AttributedStyle s2, int c2) Methods in org.jline.curses.impl that return types with arguments of type AttributedStringMethods in org.jline.curses.impl with parameters of type AttributedString -
Uses of AttributedString in org.jline.reader
Methods in org.jline.reader that return AttributedStringModifier and TypeMethodDescriptionHighlighter.highlight
(LineReader reader, String buffer) Highlight bufferMethods in org.jline.reader with parameters of type AttributedStringModifier and TypeMethodDescriptionvoid
LineReader.printAbove
(AttributedString str) Prints a string before the prompt and redraw everything. -
Uses of AttributedString in org.jline.reader.impl
Fields in org.jline.reader.impl declared as AttributedStringModifier and TypeFieldDescription(package private) AttributedString
LineReaderImpl.MenuSupport.computed
(package private) final AttributedString
LineReaderImpl.PostResult.post
protected AttributedString
LineReaderImpl.prompt
protected AttributedString
LineReaderImpl.rightPrompt
Fields in org.jline.reader.impl with type parameters of type AttributedStringMethods in org.jline.reader.impl that return AttributedStringModifier and TypeMethodDescriptionprivate AttributedString
LineReaderImpl.addRightPrompt
(AttributedString prompt, AttributedString line) private AttributedString
LineReaderImpl.expandPromptPattern
(String pattern, int padToWidth, String message, int line) private AttributedString
LineReaderImpl.MenuSupport.get()
LineReaderImpl.getDisplayedBufferWithPrompts
(List<AttributedString> secondaryPrompts) Compute the full string to be displayed with the left, right and secondary promptsprivate AttributedString
LineReaderImpl.getHighlightedBuffer
(String buffer) DefaultHighlighter.highlight
(LineReader reader, String buffer) private AttributedString
LineReaderImpl.insertSecondaryPrompts
(AttributedString str, List<AttributedString> prompts) private AttributedString
LineReaderImpl.insertSecondaryPrompts
(AttributedString strAtt, List<AttributedString> prompts, boolean computePrompts) Methods in org.jline.reader.impl with parameters of type AttributedStringModifier and TypeMethodDescriptionprivate AttributedString
LineReaderImpl.addRightPrompt
(AttributedString prompt, AttributedString line) private AttributedString
LineReaderImpl.insertSecondaryPrompts
(AttributedString str, List<AttributedString> prompts) private AttributedString
LineReaderImpl.insertSecondaryPrompts
(AttributedString strAtt, List<AttributedString> prompts, boolean computePrompts) void
LineReaderImpl.printAbove
(AttributedString str) Method parameters in org.jline.reader.impl with type arguments of type AttributedStringModifier and TypeMethodDescriptionprivate void
LineReaderImpl.concat
(List<AttributedString> lines, AttributedStringBuilder sb) LineReaderImpl.getDisplayedBufferWithPrompts
(List<AttributedString> secondaryPrompts) Compute the full string to be displayed with the left, right and secondary promptsprivate AttributedString
LineReaderImpl.insertSecondaryPrompts
(AttributedString str, List<AttributedString> prompts) private AttributedString
LineReaderImpl.insertSecondaryPrompts
(AttributedString strAtt, List<AttributedString> prompts, boolean computePrompts) Constructors in org.jline.reader.impl with parameters of type AttributedString -
Uses of AttributedString in org.jline.style
Methods in org.jline.style that return AttributedStringModifier and TypeMethodDescriptionEvaluate expression.Evaluate a style expression.Evaluate a style expression with format.Encode string with style applying value.Encode string with style formatted value. -
Uses of AttributedString in org.jline.utils
Fields in org.jline.utils declared as AttributedStringModifier and TypeFieldDescriptionprotected AttributedString
Status.borderString
private final AttributedString
Status.ellipsis
static final AttributedString
AttributedString.EMPTY
static final AttributedString
AttributedString.NEWLINE
final AttributedString
DiffHelper.Diff.text
The text associated with this diff operation.Fields in org.jline.utils with type parameters of type AttributedStringModifier and TypeFieldDescriptionprotected List
<AttributedString> Status.lines
protected List
<AttributedString> Display.oldLines
Methods in org.jline.utils that return AttributedStringModifier and TypeMethodDescriptionstatic AttributedString
AttributedStringBuilder.append
(CharSequence... strings) AttributedCharSequence.columnSubSequence
(int start, int stop) static AttributedString
static AttributedString
static AttributedString
static AttributedString
static AttributedString
private AttributedString
Status.getBorderString
(int columns) static AttributedString
AttributedString.join
(AttributedString delimiter, Iterable<AttributedString> elements) static AttributedString
AttributedString.join
(AttributedString delimiter, AttributedString... elements) AttributedString.styleMatches
(Pattern pattern, AttributedStyle style) abstract AttributedString
AttributedCharSequence.subSequence
(int start, int end) AttributedString.subSequence
(int start, int end) AttributedStringBuilder.subSequence
(int start, int end) AttributedCharSequence.substring
(int start, int end) AttributedCharSequence.toAttributedString()
Methods in org.jline.utils that return types with arguments of type AttributedStringModifier and TypeMethodDescriptionAttributedCharSequence.columnSplitLength
(int columns) AttributedCharSequence.columnSplitLength
(int columns, boolean includeNewlines, boolean delayLineWrap) Methods in org.jline.utils with parameters of type AttributedStringModifier and TypeMethodDescriptionAttributedStringBuilder.append
(AttributedString str) AttributedStringBuilder.append
(AttributedString str, int start, int end) static List
<DiffHelper.Diff> DiffHelper.diff
(AttributedString text1, AttributedString text2) Compute a list of difference between two lines.static AttributedString
AttributedString.join
(AttributedString delimiter, Iterable<AttributedString> elements) static AttributedString
AttributedString.join
(AttributedString delimiter, AttributedString... elements) (package private) void
Display.rawPrint
(AttributedString str) Method parameters in org.jline.utils with type arguments of type AttributedStringModifier and TypeMethodDescriptionstatic AttributedString
AttributedString.join
(AttributedString delimiter, Iterable<AttributedString> elements) private static int[]
Display.longestCommon
(List<AttributedString> l1, List<AttributedString> l2) protected void
Display.moveVisualCursorTo
(int targetPos, List<AttributedString> newLines) protected void
Status.MovingCursorDisplay.moveVisualCursorTo
(int targetPos, List<AttributedString> newLines) void
Display.update
(List<AttributedString> newLines, int targetCursorPos) Update the display according to the new lines and flushes the output.void
Display.update
(List<AttributedString> newLines, int targetCursorPos, boolean flush) Update the display according to the new lines.void
Status.MovingCursorDisplay.update
(List<AttributedString> newLines, int targetCursorPos, boolean flush) void
Status.update
(List<AttributedString> lines) void
Status.update
(List<AttributedString> lines, boolean flush) Returnstrue
if the cursor may be misplaced and should be updated.Constructors in org.jline.utils with parameters of type AttributedStringModifierConstructorDescriptionDiff
(DiffHelper.Operation operation, AttributedString text) Constructor. -
Uses of AttributedString in org.jline.widget
Methods in org.jline.widget that return types with arguments of type AttributedStringModifier and TypeMethodDescriptionprivate List
<AttributedString> TailTipWidgets.compileMainDescription
(CmdDesc cmdDesc, int descriptionSize) private List
<AttributedString> TailTipWidgets.compileMainDescription
(CmdDesc cmdDesc, int descriptionSize, String lastArg) private List
<AttributedString> TailTipWidgets.compileOptionDescription
(CmdDesc cmdDesc, String opt, int descriptionSize) Method parameters in org.jline.widget with type arguments of type AttributedStringModifier and TypeMethodDescriptionprivate void
TailTipWidgets.doDescription
(List<AttributedString> desc) void
Widgets.setDescription
(List<AttributedString> desc) Set description text to the terminal status bar