Uses of Class
org.jline.utils.AttributedString
-
Packages that use AttributedString Package Description org.jline.builtins org.jline.console org.jline.console.impl org.jline.reader JLine 3.org.jline.reader.impl org.jline.style org.jline.utils JLine 3.org.jline.widget -
-
Uses of AttributedString in org.jline.builtins
Fields in org.jline.builtins with type parameters of type AttributedString Modifier and Type Field Description protected java.util.List<AttributedString>
Less. lines
Methods in org.jline.builtins that return AttributedString Modifier and Type Method Description static AttributedString
Options.HelpException. highlight(java.lang.String msg, StyleResolver resolver)
AttributedString
SyntaxHighlighter. highlight(java.lang.String string)
AttributedString
SyntaxHighlighter. highlight(AttributedString attributedString)
AttributedString
SyntaxHighlighter. highlight(AttributedStringBuilder asb)
static AttributedString
Options.HelpException. highlightComment(java.lang.String comment, StyleResolver resolver)
static AttributedString
Options.HelpException. highlightSyntax(java.lang.String syntax, StyleResolver resolver)
static AttributedString
Options.HelpException. highlightSyntax(java.lang.String syntax, StyleResolver resolver, boolean subcommands)
Methods in org.jline.builtins that return types with arguments of type AttributedString Modifier and Type Method Description protected java.util.List<AttributedString>
Nano. computeFooter()
Methods in org.jline.builtins with parameters of type AttributedString Modifier and Type Method Description AttributedString
SyntaxHighlighter. highlight(AttributedString attributedString)
-
Uses of AttributedString in org.jline.console
Methods in org.jline.console that return AttributedString Modifier and Type Method Description AttributedString
CmdDesc. optionDescription(java.lang.String key)
Methods in org.jline.console that return types with arguments of type AttributedString Modifier and Type Method Description java.util.List<AttributedString>
ArgDesc. getDescription()
java.util.List<AttributedString>
CmdDesc. getMainDesc()
java.util.TreeMap<java.lang.String,java.util.List<AttributedString>>
CmdDesc. getOptsDesc()
Method parameters in org.jline.console with type arguments of type AttributedString Modifier and Type Method Description CmdDesc
CmdDesc. mainDesc(java.util.List<AttributedString> mainDesc)
void
CmdDesc. setMainDesc(java.util.List<AttributedString> mainDesc)
Constructor parameters in org.jline.console with type arguments of type AttributedString Constructor Description ArgDesc(java.lang.String name, java.util.List<AttributedString> description)
CmdDesc(java.util.List<ArgDesc> argsDesc, java.util.Map<java.lang.String,java.util.List<AttributedString>> optsDesc)
CmdDesc(java.util.List<AttributedString> mainDesc, java.util.List<ArgDesc> argsDesc, java.util.Map<java.lang.String,java.util.List<AttributedString>> optsDesc)
CmdDesc(java.util.List<AttributedString> mainDesc, java.util.List<ArgDesc> argsDesc, java.util.Map<java.lang.String,java.util.List<AttributedString>> optsDesc)
-
Uses of AttributedString in org.jline.console.impl
Methods in org.jline.console.impl that return AttributedString Modifier and Type Method Description protected AttributedString
SystemHighlighter. doCommandHighlight(java.lang.String buffer)
protected AttributedString
SystemHighlighter. doFileArgsHighlight(LineReader reader, java.lang.String buffer, java.util.List<java.lang.String> words, SystemHighlighter.FileHighlightCommand fhc)
protected AttributedString
SystemHighlighter. doFileOptsHighlight(LineReader reader, java.lang.String buffer, java.util.List<java.lang.String> words, SystemHighlighter.FileHighlightCommand fhc)
AttributedString
SystemHighlighter. highlight(LineReader reader, java.lang.String buffer)
protected AttributedString
SystemHighlighter. systemHighlight(LineReader reader, java.lang.String buffer)
Method parameters in org.jline.console.impl with type arguments of type AttributedString Modifier and Type Method Description void
DefaultPrinter. setHighlightValue(java.util.Map<java.lang.String,java.util.function.Function<java.lang.Object,AttributedString>> highlightValue)
Highlight column value -
Uses of AttributedString in org.jline.reader
Methods in org.jline.reader that return AttributedString Modifier and Type Method Description AttributedString
Highlighter. highlight(LineReader reader, java.lang.String buffer)
Highlight bufferMethods in org.jline.reader with parameters of type AttributedString Modifier and Type Method Description void
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 AttributedString Modifier and Type Field Description protected AttributedString
LineReaderImpl. prompt
protected AttributedString
LineReaderImpl. rightPrompt
Fields in org.jline.reader.impl with type parameters of type AttributedString Modifier and Type Field Description protected java.util.function.Supplier<AttributedString>
LineReaderImpl. post
Methods in org.jline.reader.impl that return AttributedString Modifier and Type Method Description AttributedString
LineReaderImpl. getDisplayedBufferWithPrompts(java.util.List<AttributedString> secondaryPrompts)
Compute the full string to be displayed with the left, right and secondary promptsAttributedString
DefaultHighlighter. highlight(LineReader reader, java.lang.String buffer)
Methods in org.jline.reader.impl with parameters of type AttributedString Modifier and Type Method Description void
LineReaderImpl. printAbove(AttributedString str)
Method parameters in org.jline.reader.impl with type arguments of type AttributedString Modifier and Type Method Description AttributedString
LineReaderImpl. getDisplayedBufferWithPrompts(java.util.List<AttributedString> secondaryPrompts)
Compute the full string to be displayed with the left, right and secondary promptsConstructors in org.jline.reader.impl with parameters of type AttributedString Constructor Description PostResult(AttributedString post, int lines, int selectedLine)
-
Uses of AttributedString in org.jline.style
Methods in org.jline.style that return AttributedString Modifier and Type Method Description AttributedString
StyleExpression. evaluate(java.lang.String expression)
Evaluate expression.AttributedString
StyleFactory. evaluate(java.lang.String expression)
Evaluate a style expression.AttributedString
StyleFactory. evaluate(java.lang.String format, java.lang.Object... params)
Evaluate a style expression with format.AttributedString
StyleFactory. style(java.lang.String style, java.lang.String value)
Encode string with style applying value.AttributedString
StyleFactory. style(java.lang.String style, java.lang.String format, java.lang.Object... params)
Encode string with style formatted value. -
Uses of AttributedString in org.jline.utils
Fields in org.jline.utils declared as AttributedString Modifier and Type Field Description protected AttributedString
Status. borderString
static AttributedString
AttributedString. EMPTY
static AttributedString
AttributedString. NEWLINE
AttributedString
DiffHelper.Diff. text
The text associated with this diff operation.Fields in org.jline.utils with type parameters of type AttributedString Modifier and Type Field Description protected java.util.List<AttributedString>
Status. lines
protected java.util.List<AttributedString>
Display. oldLines
Methods in org.jline.utils that return AttributedString Modifier and Type Method Description static AttributedString
AttributedStringBuilder. append(java.lang.CharSequence... strings)
AttributedString
AttributedCharSequence. columnSubSequence(int start, int stop)
static AttributedString
AttributedString. fromAnsi(java.lang.String ansi)
static AttributedString
AttributedString. fromAnsi(java.lang.String ansi, int tabs)
static AttributedString
AttributedString. fromAnsi(java.lang.String ansi, java.util.List<java.lang.Integer> tabs)
static AttributedString
AttributedString. fromAnsi(java.lang.String ansi, java.util.List<java.lang.Integer> tabs, java.lang.String altIn, java.lang.String altOut)
static AttributedString
AttributedString. fromAnsi(java.lang.String ansi, Terminal terminal)
static AttributedString
AttributedString. join(AttributedString delimiter, java.lang.Iterable<AttributedString> elements)
static AttributedString
AttributedString. join(AttributedString delimiter, AttributedString... elements)
AttributedString
AttributedString. styleMatches(java.util.regex.Pattern pattern, AttributedStyle style)
abstract AttributedString
AttributedCharSequence. subSequence(int start, int end)
AttributedString
AttributedString. subSequence(int start, int end)
AttributedString
AttributedStringBuilder. subSequence(int start, int end)
AttributedString
AttributedCharSequence. substring(int start, int end)
AttributedString
AttributedCharSequence. toAttributedString()
Methods in org.jline.utils that return types with arguments of type AttributedString Modifier and Type Method Description java.util.List<AttributedString>
AttributedCharSequence. columnSplitLength(int columns)
java.util.List<AttributedString>
AttributedCharSequence. columnSplitLength(int columns, boolean includeNewlines, boolean delayLineWrap)
Methods in org.jline.utils with parameters of type AttributedString Modifier and Type Method Description AttributedStringBuilder
AttributedStringBuilder. append(AttributedString str)
AttributedStringBuilder
AttributedStringBuilder. append(AttributedString str, int start, int end)
static java.util.List<DiffHelper.Diff>
DiffHelper. diff(AttributedString text1, AttributedString text2)
Compute a list of difference between two lines.static AttributedString
AttributedString. join(AttributedString delimiter, java.lang.Iterable<AttributedString> elements)
static AttributedString
AttributedString. join(AttributedString delimiter, AttributedString... elements)
Method parameters in org.jline.utils with type arguments of type AttributedString Modifier and Type Method Description static AttributedString
AttributedString. join(AttributedString delimiter, java.lang.Iterable<AttributedString> elements)
protected void
Display. moveVisualCursorTo(int targetPos, java.util.List<AttributedString> newLines)
void
Display. update(java.util.List<AttributedString> newLines, int targetCursorPos)
Update the display according to the new lines and flushes the output.void
Display. update(java.util.List<AttributedString> newLines, int targetCursorPos, boolean flush)
Update the display according to the new lines.void
Status. update(java.util.List<AttributedString> lines)
void
Status. update(java.util.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 AttributedString Constructor Description Diff(DiffHelper.Operation operation, AttributedString text)
Constructor. -
Uses of AttributedString in org.jline.widget
Method parameters in org.jline.widget with type arguments of type AttributedString Modifier and Type Method Description void
Widgets. setDescription(java.util.List<AttributedString> desc)
Set description text to the terminal status bar
-