public static enum SyntaxDocument.ATTR_TYPE extends 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(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.