Index

B C E F G I M N O R S V W 
All Classes and Interfaces|All Packages

B

bundle(Class<T>) - Static method in class org.jline.style.Styler
Creates a StyleBundle proxy for the specified interface.
bundle(String, Class<T>) - Static method in class org.jline.style.Styler
Creates a StyleBundle proxy for the specified interface with an explicit style group.

C

clear() - Method in class org.jline.style.MemoryStyleSource
 
clear() - Method in class org.jline.style.NopStyleSource
No-operation implementation of clear that does nothing.
clear() - Method in interface org.jline.style.StyleSource
Clears all style definitions from this source.

E

evaluate(String) - Method in class org.jline.style.StyleExpression
Evaluates a style expression and returns the result as an AttributedString.
evaluate(String) - Method in class org.jline.style.StyleFactory
Evaluates a style expression and returns the result as an AttributedString.
evaluate(String, Object...) - Method in class org.jline.style.StyleFactory
Evaluates a style expression with formatting and returns the result as an AttributedString.
evaluate(AttributedStringBuilder, String) - Method in class org.jline.style.StyleExpression
Evaluates a style expression and appends the result to the specified buffer.

F

factory(String) - Static method in class org.jline.style.Styler
Creates a StyleFactory for the given style group.
format(String, Object...) - Method in class org.jline.style.StyledWriter
Formats a string and writes it after evaluating any style expressions it contains.
format(Locale, String, Object...) - Method in class org.jline.style.StyledWriter
Formats a string using the specified locale and writes it after evaluating any style expressions it contains.

G

get(String, String) - Method in class org.jline.style.MemoryStyleSource
 
get(String, String) - Method in class org.jline.style.NopStyleSource
Always returns null for any style lookup.
get(String, String) - Method in interface org.jline.style.StyleSource
Returns the style definition for the given style group and name, or null if not found.
getGroup() - Method in class org.jline.style.StyleResolver
Returns the style group used by this resolver.
getSource() - Static method in class org.jline.style.Styler
Returns the global StyleSource used by the Styler.
getSource() - Method in class org.jline.style.StyleResolver
Returns the style source used by this resolver.
groups() - Method in class org.jline.style.MemoryStyleSource
 
groups() - Method in class org.jline.style.NopStyleSource
Always returns an empty list of style groups.
groups() - Method in interface org.jline.style.StyleSource
Returns the names of all configured style groups.

I

InterpolationHelper - Class in org.jline.style
Interpolation.

M

MemoryStyleSource - Class in org.jline.style
In-memory implementation of StyleSource.
MemoryStyleSource() - Constructor for class org.jline.style.MemoryStyleSource
Creates a new MemoryStyleSource.

N

NopStyleSource - Class in org.jline.style
A no-operation implementation of StyleSource that always returns null.
NopStyleSource() - Constructor for class org.jline.style.NopStyleSource
Creates a new NopStyleSource.

O

org.jline.style - module org.jline.style
JLine Style Module.
org.jline.style - package org.jline.style
JLine Style package provides a comprehensive styling system for terminal output.

R

remove(String) - Method in class org.jline.style.MemoryStyleSource
 
remove(String) - Method in class org.jline.style.NopStyleSource
No-operation implementation of remove that does nothing.
remove(String) - Method in interface org.jline.style.StyleSource
Removes all styles for the given style group.
remove(String, String) - Method in class org.jline.style.MemoryStyleSource
 
remove(String, String) - Method in class org.jline.style.NopStyleSource
No-operation implementation of remove that does nothing.
remove(String, String) - Method in interface org.jline.style.StyleSource
Removes a specific style from a style group.
resolver(String) - Static method in class org.jline.style.Styler
Creates a StyleResolver for the given style group.

S

set(String, String, String) - Method in class org.jline.style.MemoryStyleSource
 
set(String, String, String) - Method in class org.jline.style.NopStyleSource
No-operation implementation of set that does nothing.
set(String, String, String) - Method in interface org.jline.style.StyleSource
Sets a style definition for the given style group and name.
setSource(StyleSource) - Static method in class org.jline.style.Styler
Installs a new global StyleSource.
style(String, String) - Method in class org.jline.style.StyleFactory
Creates a styled string by applying the specified style to the given value.
style(String, String, Object...) - Method in class org.jline.style.StyleFactory
Creates a styled string by applying the specified style to a formatted value.
StyleBundle - Interface in org.jline.style
Marker interface for proxy-based style bundles.
StyleBundle.DefaultStyle - Annotation Interface in org.jline.style
Annotation that provides a default style specification for a method in a StyleBundle interface.
StyleBundle.StyleGroup - Annotation Interface in org.jline.style
Annotation that specifies the style group name for a StyleBundle interface.
StyleBundle.StyleName - Annotation Interface in org.jline.style
Annotation that allows overriding the style name for a method in a StyleBundle interface.
StyledWriter - Class in org.jline.style
A PrintWriter extension that understands and evaluates StyleExpression syntax.
StyledWriter(OutputStream, Terminal, StyleResolver, boolean) - Constructor for class org.jline.style.StyledWriter
Constructs a new StyledWriter that writes to an OutputStream.
StyledWriter(Writer, Terminal, StyleResolver, boolean) - Constructor for class org.jline.style.StyledWriter
Constructs a new StyledWriter that writes to a Writer.
StyleExpression - Class in org.jline.style
Provides evaluation of style expressions in the format @{style value}.
StyleExpression() - Constructor for class org.jline.style.StyleExpression
Constructs a new StyleExpression with a default StyleResolver.
StyleExpression(StyleResolver) - Constructor for class org.jline.style.StyleExpression
Constructs a new StyleExpression with the specified StyleResolver.
StyleFactory - Class in org.jline.style
Factory for creating styled strings using a specific style group.
StyleFactory(StyleResolver) - Constructor for class org.jline.style.StyleFactory
Constructs a new StyleFactory with the specified StyleResolver.
Styler - Class in org.jline.style
Style facade that provides static utility methods for working with styles.
StyleResolver - Class in org.jline.style
Resolves named (or source-referenced) AttributedStyle for a specific style group.
StyleResolver(StyleSource, String) - Constructor for class org.jline.style.StyleResolver
Constructs a new StyleResolver for the specified source and group.
styles(String) - Method in class org.jline.style.MemoryStyleSource
 
styles(String) - Method in class org.jline.style.NopStyleSource
Always returns an empty map of styles.
styles(String) - Method in interface org.jline.style.StyleSource
Returns all configured styles for the given style group.
StyleSource - Interface in org.jline.style
Interface for sources of style configuration.
substVars(String, Function<String, String>, boolean) - Static method in class org.jline.style.InterpolationHelper
 

V

value() - Element in annotation interface org.jline.style.StyleBundle.DefaultStyle
 
value() - Element in annotation interface org.jline.style.StyleBundle.StyleGroup
 
value() - Element in annotation interface org.jline.style.StyleBundle.StyleName
 

W

write(String) - Method in class org.jline.style.StyledWriter
Writes a string after evaluating any style expressions it contains.
B C E F G I M N O R S V W 
All Classes and Interfaces|All Packages