Package org.jline.style
Interface StyleSource
- All Known Implementing Classes:
MemoryStyleSource
,NopStyleSource
public interface StyleSource
Provides the source of style configuration.
- Since:
- 3.4
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clear all styles.Returns the appropriate style for the given style-group and style-name, ornull
if missing.groups()
Returns configured style-group names.void
Remove all styles for given style-group.void
Remove a specific style from style-group.void
Set a specific style in a style-group.Returns configured styles for given style-group.
-
Method Details
-
get
-
set
-
remove
-
remove
-
clear
void clear()Clear all styles. -
groups
-
styles
-