public class UITheme
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILE_EXT_ENDING |
Modifier and Type | Method and Description |
---|---|
void |
applyProperties(javax.swing.UIDefaults defaults) |
java.lang.String |
getAuthor() |
java.util.Map<java.lang.String,java.lang.Object> |
getBackground() |
SVGLoader.SvgElementColorPatcherProvider |
getColorPatcher() |
java.util.Map<java.lang.String,java.lang.Object> |
getColors() |
java.lang.String |
getEditorScheme() |
java.lang.String |
getEditorSchemeName() |
java.lang.String |
getId() |
java.lang.String |
getName() |
IconPathPatcher |
getPatcher() |
java.lang.ClassLoader |
getProviderClassLoader() |
boolean |
isDark() |
static boolean |
isThemeFile(VirtualFile file) |
static UITheme |
loadFromJson(java.io.InputStream stream,
java.lang.String themeId,
java.lang.ClassLoader provider) |
static UITheme |
loadFromJson(java.io.InputStream stream,
java.lang.String themeId,
java.lang.ClassLoader provider,
java.util.function.Function<? super java.lang.String,java.lang.String> iconsMapper) |
static java.lang.Object |
parseValue(java.lang.String key,
java.lang.String value) |
static java.lang.Object |
parseValue(java.lang.String key,
java.lang.String value,
java.lang.ClassLoader cl) |
void |
setBackground(java.util.Map<java.lang.String,java.lang.Object> background) |
void |
setColors(java.util.Map<java.lang.String,java.lang.Object> colors) |
void |
setEditorScheme(java.lang.String editorScheme) |
void |
setEditorSchemeName(java.lang.String editorSchemeName) |
public static final java.lang.String FILE_EXT_ENDING
public java.lang.String getName()
public boolean isDark()
public java.lang.String getAuthor()
public static UITheme loadFromJson(java.io.InputStream stream, java.lang.String themeId, java.lang.ClassLoader provider) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public static UITheme loadFromJson(java.io.InputStream stream, java.lang.String themeId, java.lang.ClassLoader provider, java.util.function.Function<? super java.lang.String,java.lang.String> iconsMapper) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public java.lang.String getId()
public java.lang.String getEditorScheme()
public java.util.Map<java.lang.String,java.lang.Object> getBackground()
public void applyProperties(javax.swing.UIDefaults defaults)
public IconPathPatcher getPatcher()
public SVGLoader.SvgElementColorPatcherProvider getColorPatcher()
public java.lang.ClassLoader getProviderClassLoader()
public static java.lang.Object parseValue(java.lang.String key, java.lang.String value, java.lang.ClassLoader cl)
public static java.lang.Object parseValue(java.lang.String key, java.lang.String value)
public java.lang.String getEditorSchemeName()
public void setEditorSchemeName(java.lang.String editorSchemeName)
public static boolean isThemeFile(VirtualFile file)
public void setEditorScheme(java.lang.String editorScheme)
public void setBackground(java.util.Map<java.lang.String,java.lang.Object> background)
public java.util.Map<java.lang.String,java.lang.Object> getColors()
public void setColors(java.util.Map<java.lang.String,java.lang.Object> colors)