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) AttributedStringLess.getLine(int line) static AttributedStringOptions.HelpException.highlight(String msg, StyleResolver resolver) SyntaxHighlighter.highlight(AttributedString attributedString) SyntaxHighlighter.highlight(AttributedStringBuilder asb) static AttributedStringOptions.HelpException.highlightComment(String comment, StyleResolver resolver) static AttributedStringOptions.HelpException.highlightSyntax(String syntax, StyleResolver resolver) static AttributedStringOptions.HelpException.highlightSyntax(String syntax, StyleResolver resolver, boolean subcommands) private AttributedStringSyntaxHighlighter.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 AttributedStringBuilderSyntaxHighlighter._highlight(AttributedString line, List<SyntaxHighlighter.HighlightRule> rules) private AttributedStringBuilderSyntaxHighlighter._highlight(AttributedString line, List<SyntaxHighlighter.HighlightRule> rules, CharSequence startWith, CharSequence continueAs) SyntaxHighlighter.highlight(AttributedString attributedString) private AttributedStringSyntaxHighlighter.splitAndHighlight(AttributedString attributedString) private booleanLess.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.descriptionprivate List<AttributedString> CmdDesc.mainDescprivate TreeMap<String, List<AttributedString>> CmdDesc.optsDescMethods 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) voidCmdDesc.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.highlightValueMethods in org.jline.console.impl that return AttributedStringModifier and TypeMethodDescriptionprivate AttributedStringDefaultPrinter.addPadding(AttributedString str, int width) protected AttributedStringSystemHighlighter.doCommandHighlight(String buffer) protected AttributedStringSystemHighlighter.doFileArgsHighlight(LineReader reader, String buffer, List<String> words, SystemHighlighter.FileHighlightCommand fhc) protected AttributedStringSystemHighlighter.doFileOptsHighlight(LineReader reader, String buffer, List<String> words, SystemHighlighter.FileHighlightCommand fhc) private AttributedStringDefaultPrinter.highlight(Integer width, SyntaxHighlighter highlighter, String object, boolean doValueHighlight) private AttributedStringSystemHighlighter.highlight(LineReader reader, String buffer) private static AttributedStringJlineCommandRegistry.highlightComment(String comment) private AttributedStringprivate AttributedStringprotected AttributedStringSystemHighlighter.systemHighlight(LineReader reader, String buffer) private AttributedStringDefaultPrinter.truncateValue(Map<String, Object> options, AttributedString value) Methods in org.jline.console.impl with parameters of type AttributedStringModifier and TypeMethodDescriptionprivate AttributedStringDefaultPrinter.addPadding(AttributedString str, int width) private booleanDefaultPrinter.isHighlighted(AttributedString value) private voidDefaultPrinter.println(AttributedString line, int maxrows) private AttributedStringDefaultPrinter.truncateValue(Map<String, Object> options, AttributedString value) Method parameters in org.jline.console.impl with type arguments of type AttributedStringModifier and TypeMethodDescriptionvoidDefaultPrinter.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 AttributedStringConsolePrompt.UiConfig.checkedBoxprivate final AttributedStringConsolePrompt.UiConfig.indicatorprivate final AttributedStringAbstractPrompt.messageprivate final AttributedStringConsolePrompt.UiConfig.unavailableprivate final AttributedStringConsolePrompt.UiConfig.uncheckedBoxFields in org.jline.consoleui.prompt with type parameters of type AttributedStringModifier and TypeFieldDescriptionprivate final List<AttributedString> AbstractPrompt.headerprotected List<AttributedString> ConsolePrompt.headerMethods in org.jline.consoleui.prompt that return AttributedStringModifier and TypeMethodDescriptionConsolePrompt.UiConfig.checkedBox()ConsolePrompt.UiConfig.indicator()private static AttributedStringConsolePrompt.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.ConfirmPromptAbstractPrompt.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.ConfirmPromptAbstractPrompt.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 voidConsolePrompt.prompt(List<AttributedString> headerIn, List<PromptableElementIF> promptableElementList, Map<String, PromptResultItemIF> resultMap) Prompt a list of choices (questions).protected PromptResultItemIFConsolePrompt.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) privateCheckboxPrompt(Terminal terminal, List<AttributedString> header, AttributedString message, List<CheckboxItemIF> checkboxItemList, int pageSize, ConsolePrompt.UiConfig cfg) privateConfirmPrompt(Terminal terminal, List<AttributedString> header, AttributedString message, ConfirmChoice confirmChoice, ConsolePrompt.UiConfig cfg) privateExpandableChoicePrompt(Terminal terminal, List<AttributedString> header, AttributedString message, ExpandableChoice expandableChoice, ConsolePrompt.UiConfig cfg) privateInputValuePrompt(LineReader reader, Terminal terminal, List<AttributedString> header, AttributedString message, InputValue inputValue, ConsolePrompt.UiConfig cfg) privateListChoicePrompt(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) privateCheckboxPrompt(Terminal terminal, List<AttributedString> header, AttributedString message, List<CheckboxItemIF> checkboxItemList, int pageSize, ConsolePrompt.UiConfig cfg) privateConfirmPrompt(Terminal terminal, List<AttributedString> header, AttributedString message, ConfirmChoice confirmChoice, ConsolePrompt.UiConfig cfg) privateExpandableChoicePrompt(Terminal terminal, List<AttributedString> header, AttributedString message, ExpandableChoice expandableChoice, ConsolePrompt.UiConfig cfg) privateInputValuePrompt(LineReader reader, Terminal terminal, List<AttributedString> header, AttributedString message, InputValue inputValue, ConsolePrompt.UiConfig cfg) privateListChoicePrompt(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 AttributedStringDefaultTheme.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 TypeMethodDescriptionvoidLineReader.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) AttributedStringLineReaderImpl.MenuSupport.computed(package private) final AttributedStringLineReaderImpl.PostResult.postprotected AttributedStringLineReaderImpl.promptprotected AttributedStringLineReaderImpl.rightPromptFields in org.jline.reader.impl with type parameters of type AttributedStringMethods in org.jline.reader.impl that return AttributedStringModifier and TypeMethodDescriptionprivate AttributedStringLineReaderImpl.addRightPrompt(AttributedString prompt, AttributedString line) private AttributedStringLineReaderImpl.expandPromptPattern(String pattern, int padToWidth, String message, int line) private AttributedStringLineReaderImpl.MenuSupport.get()LineReaderImpl.getDisplayedBufferWithPrompts(List<AttributedString> secondaryPrompts) Compute the full string to be displayed with the left, right and secondary promptsprivate AttributedStringLineReaderImpl.getHighlightedBuffer(String buffer) DefaultHighlighter.highlight(LineReader reader, String buffer) private AttributedStringLineReaderImpl.insertSecondaryPrompts(AttributedString str, List<AttributedString> prompts) private AttributedStringLineReaderImpl.insertSecondaryPrompts(AttributedString strAtt, List<AttributedString> prompts, boolean computePrompts) Methods in org.jline.reader.impl with parameters of type AttributedStringModifier and TypeMethodDescriptionprivate AttributedStringLineReaderImpl.addRightPrompt(AttributedString prompt, AttributedString line) private AttributedStringLineReaderImpl.insertSecondaryPrompts(AttributedString str, List<AttributedString> prompts) private AttributedStringLineReaderImpl.insertSecondaryPrompts(AttributedString strAtt, List<AttributedString> prompts, boolean computePrompts) voidLineReaderImpl.printAbove(AttributedString str) Method parameters in org.jline.reader.impl with type arguments of type AttributedStringModifier and TypeMethodDescriptionprivate voidLineReaderImpl.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 AttributedStringLineReaderImpl.insertSecondaryPrompts(AttributedString str, List<AttributedString> prompts) private AttributedStringLineReaderImpl.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 AttributedStringStatus.borderStringprivate final AttributedStringStatus.ellipsisstatic final AttributedStringAttributedString.EMPTYstatic final AttributedStringAttributedString.NEWLINEfinal AttributedStringDiffHelper.Diff.textThe text associated with this diff operation.Fields in org.jline.utils with type parameters of type AttributedStringModifier and TypeFieldDescriptionprotected List<AttributedString> Status.linesprotected List<AttributedString> Display.oldLinesMethods in org.jline.utils that return AttributedStringModifier and TypeMethodDescriptionstatic AttributedStringAttributedStringBuilder.append(CharSequence... strings) AttributedCharSequence.columnSubSequence(int start, int stop) static AttributedStringstatic AttributedStringstatic AttributedStringstatic AttributedStringstatic AttributedStringprivate AttributedStringStatus.getBorderString(int columns) static AttributedStringAttributedString.join(AttributedString delimiter, Iterable<AttributedString> elements) static AttributedStringAttributedString.join(AttributedString delimiter, AttributedString... elements) AttributedString.styleMatches(Pattern pattern, AttributedStyle style) abstract AttributedStringAttributedCharSequence.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 AttributedStringAttributedString.join(AttributedString delimiter, 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 AttributedStringModifier and TypeMethodDescriptionstatic AttributedStringAttributedString.join(AttributedString delimiter, Iterable<AttributedString> elements) private static int[]Display.longestCommon(List<AttributedString> l1, List<AttributedString> l2) protected voidDisplay.moveVisualCursorTo(int targetPos, List<AttributedString> newLines) protected voidStatus.MovingCursorDisplay.moveVisualCursorTo(int targetPos, List<AttributedString> newLines) voidDisplay.update(List<AttributedString> newLines, int targetCursorPos) Update the display according to the new lines and flushes the output.voidDisplay.update(List<AttributedString> newLines, int targetCursorPos, boolean flush) Update the display according to the new lines.voidStatus.MovingCursorDisplay.update(List<AttributedString> newLines, int targetCursorPos, boolean flush) voidStatus.update(List<AttributedString> lines) voidStatus.update(List<AttributedString> lines, boolean flush) Returnstrueif 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 voidTailTipWidgets.doDescription(List<AttributedString> desc) voidWidgets.setDescription(List<AttributedString> desc) Set description text to the terminal status bar