Uses of Class
org.jline.utils.AttributedStyle
Packages that use AttributedStyle
Package
Description
JLine 3 Reader Implementation Package.
JLine utility classes.
-
Uses of AttributedStyle in org.jline.reader.impl
Methods in org.jline.reader.impl that return AttributedStyleModifier and TypeMethodDescriptionprotected AttributedStyle
LineReaderImpl.buildStyle
(String str) protected AttributedStyle
LineReaderImpl.getCompletionStyle
(String name, String value) protected AttributedStyle
LineReaderImpl.getCompletionStyleBackground()
protected AttributedStyle
LineReaderImpl.getCompletionStyleBackground
(boolean menuList) protected AttributedStyle
LineReaderImpl.getCompletionStyleDescription()
protected AttributedStyle
LineReaderImpl.getCompletionStyleDescription
(boolean menuList) protected AttributedStyle
LineReaderImpl.getCompletionStyleGroup()
protected AttributedStyle
LineReaderImpl.getCompletionStyleGroup
(boolean menuList) protected AttributedStyle
LineReaderImpl.getCompletionStyleListBackground()
protected AttributedStyle
LineReaderImpl.getCompletionStyleListDescription()
protected AttributedStyle
LineReaderImpl.getCompletionStyleListGroup()
protected AttributedStyle
LineReaderImpl.getCompletionStyleListSelection()
protected AttributedStyle
LineReaderImpl.getCompletionStyleListStarting()
protected AttributedStyle
LineReaderImpl.getCompletionStyleSelection()
protected AttributedStyle
LineReaderImpl.getCompletionStyleSelection
(boolean menuList) protected AttributedStyle
LineReaderImpl.getCompletionStyleStarting()
protected AttributedStyle
LineReaderImpl.getCompletionStyleStarting
(boolean menuList) -
Uses of AttributedStyle in org.jline.utils
Fields in org.jline.utils declared as AttributedStyleModifier and TypeFieldDescriptionstatic final AttributedStyle
AttributedStyle.BOLD
Style with bold attribute enabled.static final AttributedStyle
AttributedStyle.BOLD_OFF
Style with bold attribute explicitly disabled.static final AttributedStyle
AttributedStyle.DEFAULT
Default style with no attributes or colors set.static final AttributedStyle
AttributedStyle.HIDDEN
Style with hidden attribute enabled.static final AttributedStyle
AttributedStyle.HIDDEN_OFF
Style with hidden attribute explicitly disabled.static final AttributedStyle
AttributedStyle.INVERSE
Style with inverse (reverse video) attribute enabled.static final AttributedStyle
AttributedStyle.INVERSE_OFF
Style with inverse (reverse video) attribute explicitly disabled.Methods in org.jline.utils that return AttributedStyleModifier and TypeMethodDescriptionAttributedStyle.background
(int color) Returns a new style with the specified background color.AttributedStyle.background
(int r, int g, int b) Returns a new style with the specified RGB background color.AttributedStyle.backgroundDefault()
Returns a new style with the background color set to its default state.AttributedStyle.backgroundOff()
Returns a new style with the background color explicitly disabled.AttributedStyle.backgroundRgb
(int color) Returns a new style with the specified RGB background color.AttributedStyle.blink()
Returns a new style with the blink attribute enabled.AttributedStyle.blinkDefault()
Returns a new style with the blink attribute set to its default state.AttributedStyle.blinkOff()
Returns a new style with the blink attribute explicitly disabled.AttributedStyle.bold()
Returns a new style with the bold attribute enabled.AttributedStyle.boldDefault()
Returns a new style with the bold attribute set to its default state.AttributedStyle.boldOff()
Returns a new style with the bold attribute explicitly disabled.AttributedStyle.conceal()
Returns a new style with the conceal attribute enabled.AttributedStyle.concealDefault()
Returns a new style with the conceal attribute set to its default state.AttributedStyle.concealOff()
Returns a new style with the conceal attribute explicitly disabled.AttributedStyle.crossedOut()
Returns a new style with the crossed-out attribute enabled.AttributedStyle.crossedOutDefault()
Returns a new style with the crossed-out attribute set to its default state.AttributedStyle.crossedOutOff()
Returns a new style with the crossed-out attribute explicitly disabled.AttributedStyle.faint()
Returns a new style with the faint attribute enabled.AttributedStyle.faintDefault()
Returns a new style with the faint attribute set to its default state.AttributedStyle.faintOff()
Returns a new style with the faint attribute explicitly disabled.AttributedStyle.foreground
(int color) Returns a new style with the specified foreground color.AttributedStyle.foreground
(int r, int g, int b) Returns a new style with the specified RGB foreground color.AttributedStyle.foregroundDefault()
Returns a new style with the foreground color set to its default state.AttributedStyle.foregroundOff()
Returns a new style with the foreground color explicitly disabled.AttributedStyle.foregroundRgb
(int color) Returns a new style with the specified RGB foreground color.AttributedStyle.hidden()
The hidden flag can be used to embed custom escape sequences.AttributedStyle.hiddenDefault()
Returns a new style with the hidden attribute set to its default state.AttributedStyle.hiddenOff()
Returns a new style with the hidden attribute explicitly disabled.AttributedStyle.inverse()
Returns a new style with the inverse attribute enabled.AttributedStyle.inverseDefault()
Returns a new style with the inverse attribute set to its default state.AttributedStyle.inverseNeg()
Returns a new style with the inverse attribute toggled.AttributedStyle.inverseOff()
Returns a new style with the inverse attribute explicitly disabled.AttributedStyle.italic()
Returns a new style with the italic attribute enabled.AttributedStyle.italicDefault()
Returns a new style with the italic attribute set to its default state.AttributedStyle.italicOff()
Returns a new style with the italic attribute explicitly disabled.Resolve the given style specification.Resolve the given style specification.AttributedStringBuilder.style()
Returns the current style for this builder.abstract AttributedStyle
AttributedCharSequence.styleAt
(int index) Returns the style at the specified index in this attributed string.AttributedString.styleAt
(int index) Returns the style at the specified index in this attributed string.AttributedStringBuilder.styleAt
(int index) Returns the style at the specified index in this attributed string builder.AttributedStyle.underline()
Returns a new style with the underline attribute enabled.AttributedStyle.underlineDefault()
Returns a new style with the underline attribute set to its default state.AttributedStyle.underlineOff()
Returns a new style with the underline attribute explicitly disabled.Methods in org.jline.utils with parameters of type AttributedStyleModifier and TypeMethodDescriptionAttributedStringBuilder.append
(CharSequence csq, AttributedStyle style) Appends the specified character sequence to this builder with the specified style.protected void
AttributedStringBuilder.insertTab
(AttributedStyle s) AttributedStringBuilder.style
(AttributedStyle style) Sets the current style for this builder.AttributedStringBuilder.styled
(AttributedStyle style, CharSequence cs) Appends the specified character sequence with the specified style.AttributedString.styleMatches
(Pattern pattern, AttributedStyle style) Returns a new AttributedString with the specified style applied to all matches of the pattern.AttributedStringBuilder.styleMatches
(Pattern pattern, AttributedStyle s) Applies the specified style to all matches of the pattern in this builder.Method parameters in org.jline.utils with type arguments of type AttributedStyleModifier and TypeMethodDescriptionAttributedStringBuilder.style
(Function<AttributedStyle, AttributedStyle> style) Updates the current style for this builder using a function.AttributedStringBuilder.style
(Function<AttributedStyle, AttributedStyle> style) Updates the current style for this builder using a function.AttributedStringBuilder.styled
(Function<AttributedStyle, AttributedStyle> style, CharSequence cs) Appends the specified character sequence with a temporarily modified style.AttributedStringBuilder.styled
(Function<AttributedStyle, AttributedStyle> style, CharSequence cs) Appends the specified character sequence with a temporarily modified style.AttributedStringBuilder.styled
(Function<AttributedStyle, AttributedStyle> style, Consumer<AttributedStringBuilder> consumer) Performs operations with a temporarily modified style.AttributedStringBuilder.styled
(Function<AttributedStyle, AttributedStyle> style, Consumer<AttributedStringBuilder> consumer) Performs operations with a temporarily modified style.AttributedStringBuilder.styleMatches
(Pattern pattern, List<AttributedStyle> styles) Applies different styles to different capture groups in pattern matches.Constructors in org.jline.utils with parameters of type AttributedStyleModifierConstructorDescriptionAttributedString
(CharSequence str, int start, int end, AttributedStyle s) Creates a new AttributedString from a subsequence of the specified character sequence with the specified style.Creates a new AttributedString from the specified character sequence with the specified style.Creates a new AttributedStyle by copying another style.