Uses of Class
org.jline.utils.AttributedString
Packages that use AttributedString
-
Uses of AttributedString in org.jline.utils
Fields in org.jline.utils declared as AttributedStringModifier and TypeFieldDescriptionprotected AttributedStringStatus.borderStringstatic final AttributedStringAttributedString.EMPTYAn empty AttributedString with no characters.static final AttributedStringAttributedString.NEWLINEAn AttributedString containing only a newline character.final 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) Creates an AttributedString by appending multiple character sequences.AttributedCharSequence.columnSubSequence(int start, int stop) Returns a subsequence of this attributed string based on column positions.static AttributedStringCreates an AttributedString from an ANSI-encoded string.static AttributedStringCreates an AttributedString from an ANSI-encoded string with a specified tab size.static AttributedStringCreates an AttributedString from an ANSI-encoded string with custom tab stops.static AttributedStringCreates an AttributedString from an ANSI-encoded string with custom tab stops and alternate character set sequences.static AttributedStringCreates an AttributedString from an ANSI-encoded string, using terminal capabilities.static AttributedStringAttributedString.join(AttributedString delimiter, Iterable<AttributedString> elements) Joins an Iterable of AttributedString objects with a delimiter.static AttributedStringAttributedString.join(AttributedString delimiter, AttributedString... elements) Joins multiple AttributedString objects with a delimiter.AttributedString.styleMatches(Pattern pattern, AttributedStyle style) Returns a new AttributedString with the specified style applied to all matches of the pattern.abstract AttributedStringAttributedCharSequence.subSequence(int start, int end) AttributedString.subSequence(int start, int end) Returns a new AttributedString that is a subsequence of this attributed string.AttributedStringBuilder.subSequence(int start, int end) Returns a new AttributedString that is a subsequence of this attributed string builder.AttributedCharSequence.substring(int start, int end) Returns a new AttributedString that is a substring of this attributed string.AttributedCharSequence.toAttributedString()Converts this attributed character sequence to an AttributedString.Methods in org.jline.utils that return types with arguments of type AttributedStringModifier and TypeMethodDescriptionAttributedCharSequence.columnSplitLength(int columns) Splits this attributed string into multiple lines based on column width.AttributedCharSequence.columnSplitLength(int columns, boolean includeNewlines, boolean delayLineWrap) Splits this attributed string into multiple lines based on column width, with options for handling newlines and line wrapping.Methods in org.jline.utils with parameters of type AttributedStringModifier and TypeMethodDescriptionAttributedStringBuilder.append(AttributedString str) Appends the specified AttributedString to this builder.AttributedStringBuilder.append(AttributedString str, int start, int end) Appends a subsequence of the specified AttributedString to this builder.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) Joins an Iterable of AttributedString objects with a delimiter.static AttributedStringAttributedString.join(AttributedString delimiter, AttributedString... elements) Joins multiple AttributedString objects with a delimiter.Method parameters in org.jline.utils with type arguments of type AttributedStringModifier and TypeMethodDescriptionstatic AttributedStringAttributedString.join(AttributedString delimiter, Iterable<AttributedString> elements) Joins an Iterable of AttributedString objects with a delimiter.protected voidDisplay.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.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.