Class IntelliJTheme
java.lang.Object
com.formdev.flatlaf.IntelliJTheme
This class supports loading IntelliJ .theme.json files and using them as a Laf.
.theme.json files are used by Theme plugins for IntelliJ IDEA and other
JetBrains IDEs that are based on IntelliJ platform.
Here you can find IntelliJ Theme plugins:
https://plugins.jetbrains.com/search?tags=Theme
The IntelliJ .theme.json file are documented here:
http://www.jetbrains.org/intellij/sdk/docs/reference_guide/ui_themes/themes_customize.html
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoads a IntelliJ .theme.json file from the given input stream. -
Method Summary
Modifier and TypeMethodDescriptionstatic FlatLafcreateLaf(IntelliJTheme theme) Creates a Laf instance for the given IntelliJ theme.static FlatLafcreateLaf(InputStream in) Loads a IntelliJ .theme.json file from the given input stream and creates a Laf instance for it.static booleaninstall(InputStream in) Deprecated.static booleansetup(InputStream in) Loads a IntelliJ .theme.json file from the given input stream, creates a Laf instance for it and sets it up.
-
Field Details
-
name
-
dark
public final boolean dark -
author
-
-
Constructor Details
-
IntelliJTheme
Loads a IntelliJ .theme.json file from the given input stream. The input stream is automatically closed. Using a buffered input stream is not necessary.- Throws:
IOException
-
-
Method Details
-
setup
Loads a IntelliJ .theme.json file from the given input stream, creates a Laf instance for it and sets it up. The input stream is automatically closed. Using a buffered input stream is not necessary.- Since:
- 1.2
-
install
Deprecated.usesetup(InputStream)instead; this method will be removed in a future version -
createLaf
Loads a IntelliJ .theme.json file from the given input stream and creates a Laf instance for it. The input stream is automatically closed. Using a buffered input stream is not necessary.- Throws:
IOException
-
createLaf
Creates a Laf instance for the given IntelliJ theme.
-
setup(InputStream)instead; this method will be removed in a future version