public static enum SyntaxDocument.ATTR_TYPE extends java.lang.Enum<SyntaxDocument.ATTR_TYPE>
Enum Constant and Description |
---|
Comment
a comment.
|
Normal
normal string.
|
Quote
a quoted string.
|
Modifier and Type | Method and Description |
---|---|
static SyntaxDocument.ATTR_TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SyntaxDocument.ATTR_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyntaxDocument.ATTR_TYPE Normal
public static final SyntaxDocument.ATTR_TYPE Comment
public static final SyntaxDocument.ATTR_TYPE Quote
public static SyntaxDocument.ATTR_TYPE[] values()
for (SyntaxDocument.ATTR_TYPE c : SyntaxDocument.ATTR_TYPE.values()) System.out.println(c);
public static SyntaxDocument.ATTR_TYPE 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 null