public class ThemeResolver extends Object
Constructor and Description |
---|
ThemeResolver(ThemeRegistry themeRegistry,
String themeName) |
Modifier and Type | Method and Description |
---|---|
org.jline.utils.AttributedString |
evaluateExpression(String expression)
Evaluate expression.
|
String |
resolveFigureTag(String tag)
Resolve figure from a tag with activated theme.
|
org.jline.utils.AttributedStyle |
resolveStyle(String spec)
Resolve
AttributedStyle from a spec . |
String |
resolveStyleTag(String tag)
Resolve style from a tag with activated theme.
|
public ThemeResolver(ThemeRegistry themeRegistry, String themeName)
public org.jline.utils.AttributedString evaluateExpression(String expression)
expression
- the expressionpublic String resolveStyleTag(String tag)
tag
- the tagpublic String resolveFigureTag(String tag)
tag
- the tagpublic org.jline.utils.AttributedStyle resolveStyle(String spec)
AttributedStyle
from a spec
.spec
- the specCopyright © 2024. All rights reserved.