public enum SyntaxTheme extends java.lang.Enum<SyntaxTheme>
| Enum Constant and Description |
|---|
dark
Dark theme.
|
eclipse
Eclipse theme.
|
idea
IntelliJ IDEA theme.
|
vs
Visual Studio theme.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea syntaxArea)
Applies theme to WebSyntaxArea.
|
javax.swing.Icon |
getIcon()
Returns theme icon.
|
java.lang.String |
getName()
Returns theme name.
|
static SyntaxTheme |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SyntaxTheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyntaxTheme idea
public static final SyntaxTheme dark
public static final SyntaxTheme vs
public static final SyntaxTheme eclipse
public static SyntaxTheme[] values()
for (SyntaxTheme c : SyntaxTheme.values()) System.out.println(c);
public static SyntaxTheme valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic javax.swing.Icon getIcon()
public java.lang.String getName()
public void apply(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea syntaxArea)
syntaxArea - WebSyntaxArea