org.nuiton.widget.editor
Enum Editor.EditorSyntaxConstant
java.lang.Object
java.lang.Enum<Editor.EditorSyntaxConstant>
org.nuiton.widget.editor.Editor.EditorSyntaxConstant
- All Implemented Interfaces:
- Serializable, Comparable<Editor.EditorSyntaxConstant>
- Enclosing class:
- Editor
public static enum Editor.EditorSyntaxConstant
- extends Enum<Editor.EditorSyntaxConstant>
Disponible syntax
Used to force syntax to use on editor
- See Also:
XML
public static final Editor.EditorSyntaxConstant XML
JAVA
public static final Editor.EditorSyntaxConstant JAVA
SQL
public static final Editor.EditorSyntaxConstant SQL
R
public static final Editor.EditorSyntaxConstant R
name
protected String name
values
public static Editor.EditorSyntaxConstant[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Editor.EditorSyntaxConstant c : Editor.EditorSyntaxConstant.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Editor.EditorSyntaxConstant valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getName
public String getName()
isSupported
public boolean isSupported(Editor.EditorSyntaxConstant... constantsSupported)
Copyright © 2004-2010 CodeLutin. All Rights Reserved.