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. linesMethods in org.jline.builtins that return AttributedString Modifier and Type Method Description (package private) AttributedStringLess. getLine(int line)AttributedStringNano.SyntaxHighlighter. highlight(java.lang.String string)AttributedStringNano.SyntaxHighlighter. highlight(AttributedString line)AttributedStringNano.SyntaxHighlighter. highlight(AttributedStringBuilder asb)static AttributedStringOptions.HelpException. highlight(java.lang.String msg, StyleResolver resolver)static AttributedStringOptions.HelpException. highlightComment(java.lang.String comment, StyleResolver resolver)static AttributedStringOptions.HelpException. highlightSyntax(java.lang.String syntax, StyleResolver resolver)static AttributedStringOptions.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()(package private) java.util.List<AttributedString>Nano.Buffer. computeHeader()(package private) java.util.List<AttributedString>Nano.Buffer. getDisplayedLines(int nbLines)private Less.Pair<java.lang.Integer,AttributedString>Less. nextLine2display(int line, java.util.regex.Pattern dpCompiled)private Less.Pair<java.lang.Integer,AttributedString>Less. prevLine2display(int line, java.util.regex.Pattern dpCompiled)Methods in org.jline.builtins with parameters of type AttributedString Modifier and Type Method Description AttributedStringNano.SyntaxHighlighter. highlight(AttributedString line)private booleanLess. toBeDisplayed(AttributedString curLine, java.util.regex.Pattern dpCompiled) -
Uses of AttributedString in org.jline.console
Fields in org.jline.console with type parameters of type AttributedString Modifier and Type Field Description private java.util.List<AttributedString>ArgDesc. descriptionprivate java.util.List<AttributedString>CmdDesc. mainDescprivate java.util.TreeMap<java.lang.String,java.util.List<AttributedString>>CmdDesc. optsDescMethods in org.jline.console that return AttributedString Modifier and Type Method Description AttributedStringCmdDesc. 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 CmdDescCmdDesc. mainDesc(java.util.List<AttributedString> mainDesc)voidCmdDesc. 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
Fields in org.jline.console.impl with type parameters of type AttributedString Modifier and Type Field Description private java.util.Map<java.lang.String,java.util.function.Function<java.lang.Object,AttributedString>>DefaultPrinter. highlightValueMethods in org.jline.console.impl that return AttributedString Modifier and Type Method Description private AttributedStringDefaultPrinter. addPadding(AttributedString str, int width)protected AttributedStringSystemHighlighter. doCommandHighlight(java.lang.String buffer)protected AttributedStringSystemHighlighter. doFileArgsHighlight(LineReader reader, java.lang.String buffer, SystemHighlighter.FileHighlightCommand fhc)protected AttributedStringSystemHighlighter. doFileOptsHighlight(LineReader reader, java.lang.String buffer, SystemHighlighter.FileHighlightCommand fhc)private AttributedStringDefaultPrinter. highlight(java.lang.Integer width, Nano.SyntaxHighlighter highlighter, java.lang.String object, boolean doValueHighlight)private AttributedStringDefaultPrinter. highlight(CmdDesc cmdDesc)AttributedStringSystemHighlighter. highlight(LineReader reader, java.lang.String buffer)private static AttributedStringJlineCommandRegistry. highlightComment(java.lang.String comment)private AttributedStringDefaultPrinter. highlightMapValue(java.util.Map<java.lang.String,java.lang.Object> options, java.lang.String key, java.util.Map<java.lang.String,java.lang.Object> map)private AttributedStringDefaultPrinter. highlightValue(java.util.Map<java.lang.String,java.lang.Object> options, java.lang.String column, java.lang.Object obj)protected AttributedStringSystemHighlighter. systemHighlight(LineReader reader, java.lang.String buffer)private AttributedStringDefaultPrinter. truncateValue(java.util.Map<java.lang.String,java.lang.Object> options, AttributedString value)Methods in org.jline.console.impl with parameters of type AttributedString Modifier and Type Method Description private AttributedStringDefaultPrinter. addPadding(AttributedString str, int width)private booleanDefaultPrinter. isHighlighted(AttributedString value)private voidDefaultPrinter. println(AttributedString line, int maxrows)private AttributedStringDefaultPrinter. truncateValue(java.util.Map<java.lang.String,java.lang.Object> options, AttributedString value)Method parameters in org.jline.console.impl with type arguments of type AttributedString Modifier and Type Method Description voidDefaultPrinter. 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 AttributedStringHighlighter. highlight(LineReader reader, java.lang.String buffer)Methods in org.jline.reader with parameters of type AttributedString Modifier and Type Method Description voidLineReader. 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 (package private) AttributedStringLineReaderImpl.MenuSupport. computed(package private) AttributedStringLineReaderImpl.PostResult. postprotected AttributedStringLineReaderImpl. promptprotected AttributedStringLineReaderImpl. rightPromptFields in org.jline.reader.impl with type parameters of type AttributedString Modifier and Type Field Description protected java.util.function.Supplier<AttributedString>LineReaderImpl. postMethods in org.jline.reader.impl that return AttributedString Modifier and Type Method Description private AttributedStringLineReaderImpl. addRightPrompt(AttributedString prompt, AttributedString line)private AttributedStringLineReaderImpl. expandPromptPattern(java.lang.String pattern, int padToWidth, java.lang.String message, int line)AttributedStringLineReaderImpl.MenuSupport. get()AttributedStringLineReaderImpl. getDisplayedBufferWithPrompts(java.util.List<AttributedString> secondaryPrompts)Compute the full string to be displayed with the left, right and secondary promptsprivate AttributedStringLineReaderImpl. getHighlightedBuffer(java.lang.String buffer)AttributedStringDefaultHighlighter. highlight(LineReader reader, java.lang.String buffer)private AttributedStringLineReaderImpl. insertSecondaryPrompts(AttributedString str, java.util.List<AttributedString> prompts)private AttributedStringLineReaderImpl. insertSecondaryPrompts(AttributedString strAtt, java.util.List<AttributedString> prompts, boolean computePrompts)Methods in org.jline.reader.impl with parameters of type AttributedString Modifier and Type Method Description private AttributedStringLineReaderImpl. addRightPrompt(AttributedString prompt, AttributedString line)private AttributedStringLineReaderImpl. insertSecondaryPrompts(AttributedString str, java.util.List<AttributedString> prompts)private AttributedStringLineReaderImpl. insertSecondaryPrompts(AttributedString strAtt, java.util.List<AttributedString> prompts, boolean computePrompts)voidLineReaderImpl. printAbove(AttributedString str)Method parameters in org.jline.reader.impl with type arguments of type AttributedString Modifier and Type Method Description private voidLineReaderImpl. concat(java.util.List<AttributedString> lines, AttributedStringBuilder sb)AttributedStringLineReaderImpl. getDisplayedBufferWithPrompts(java.util.List<AttributedString> secondaryPrompts)Compute the full string to be displayed with the left, right and secondary promptsprivate AttributedStringLineReaderImpl. insertSecondaryPrompts(AttributedString str, java.util.List<AttributedString> prompts)private AttributedStringLineReaderImpl. insertSecondaryPrompts(AttributedString strAtt, java.util.List<AttributedString> prompts, boolean computePrompts)Constructors 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 AttributedStringStyleExpression. evaluate(java.lang.String expression)Evaluate expression.AttributedStringStyleFactory. evaluate(java.lang.String expression)Evaluate a style expression.AttributedStringStyleFactory. evaluate(java.lang.String format, java.lang.Object... params)Evaluate a style expression with format.AttributedStringStyleFactory. style(java.lang.String style, java.lang.String value)Encode string with style applying value.AttributedStringStyleFactory. 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 AttributedStringStatus. borderStringstatic AttributedStringAttributedString. EMPTYstatic AttributedStringAttributedString. NEWLINEAttributedStringDiffHelper.Diff. textThe 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. linesToRestoreprotected java.util.List<AttributedString>Display. oldLinesprotected java.util.List<AttributedString>Status. oldLinesMethods in org.jline.utils that return AttributedString Modifier and Type Method Description static AttributedStringAttributedStringBuilder. append(java.lang.CharSequence... strings)AttributedStringAttributedCharSequence. columnSubSequence(int start, int stop)static AttributedStringAttributedString. fromAnsi(java.lang.String ansi)static AttributedStringAttributedString. fromAnsi(java.lang.String ansi, int tabs)static AttributedStringAttributedString. fromAnsi(java.lang.String ansi, java.util.List<java.lang.Integer> tabs)static AttributedStringAttributedString. join(AttributedString delimiter, java.lang.Iterable<AttributedString> elements)static AttributedStringAttributedString. join(AttributedString delimiter, AttributedString... elements)AttributedStringAttributedString. styleMatches(java.util.regex.Pattern pattern, AttributedStyle style)abstract AttributedStringAttributedCharSequence. subSequence(int start, int end)AttributedStringAttributedString. subSequence(int start, int end)AttributedStringAttributedStringBuilder. subSequence(int start, int end)AttributedStringAttributedCharSequence. substring(int start, int end)AttributedStringAttributedCharSequence. 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 AttributedStringBuilderAttributedStringBuilder. append(AttributedString str)AttributedStringBuilderAttributedStringBuilder. 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 AttributedStringAttributedString. join(AttributedString delimiter, java.lang.Iterable<AttributedString> elements)static AttributedStringAttributedString. join(AttributedString delimiter, AttributedString... elements)(package private) voidDisplay. rawPrint(AttributedString str)Method parameters in org.jline.utils with type arguments of type AttributedString Modifier and Type Method Description static AttributedStringAttributedString. join(AttributedString delimiter, java.lang.Iterable<AttributedString> elements)private static int[]Display. longestCommon(java.util.List<AttributedString> l1, java.util.List<AttributedString> l2)protected voidDisplay. moveVisualCursorTo(int targetPos, java.util.List<AttributedString> newLines)voidDisplay. update(java.util.List<AttributedString> newLines, int targetCursorPos)Update the display according to the new lines and flushes the output.voidDisplay. update(java.util.List<AttributedString> newLines, int targetCursorPos, boolean flush)Update the display according to the new lines.voidStatus. update(java.util.List<AttributedString> lines)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
Methods in org.jline.widget that return types with arguments of type AttributedString Modifier and Type Method Description private java.util.List<AttributedString>TailTipWidgets. compileMainDescription(CmdDesc cmdDesc, int descriptionSize)private java.util.List<AttributedString>TailTipWidgets. compileMainDescription(CmdDesc cmdDesc, int descriptionSize, java.lang.String lastArg)private java.util.List<AttributedString>TailTipWidgets. compileOptionDescription(CmdDesc cmdDesc, java.lang.String opt, int descriptionSize)Method parameters in org.jline.widget with type arguments of type AttributedString Modifier and Type Method Description voidWidgets. addDescription(java.util.List<AttributedString> desc)private voidTailTipWidgets. doDescription(java.util.List<AttributedString> desc)
-