public static enum SourceCodeEditor.Mode extends java.lang.Enum<SourceCodeEditor.Mode>
Enum Constant and Description |
---|
CSS |
Groovy |
HTML |
Java |
JavaScript |
Properties |
SCSS |
SQL |
Text |
XML |
Modifier and Type | Method and Description |
---|---|
static SourceCodeEditor.Mode |
parse(java.lang.String name) |
static SourceCodeEditor.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SourceCodeEditor.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceCodeEditor.Mode Java
public static final SourceCodeEditor.Mode HTML
public static final SourceCodeEditor.Mode XML
public static final SourceCodeEditor.Mode Groovy
public static final SourceCodeEditor.Mode SQL
public static final SourceCodeEditor.Mode JavaScript
public static final SourceCodeEditor.Mode Properties
public static final SourceCodeEditor.Mode CSS
public static final SourceCodeEditor.Mode SCSS
public static final SourceCodeEditor.Mode Text
public static SourceCodeEditor.Mode[] values()
for (SourceCodeEditor.Mode c : SourceCodeEditor.Mode.values()) System.out.println(c);
public static SourceCodeEditor.Mode 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 static SourceCodeEditor.Mode parse(java.lang.String name)