|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<GUIFile.Flag> types.GUIFile.Flag
public static enum GUIFile.Flag
The enumeration type of flags set in the file.
Enum Constant Summary | |
---|---|
GENERATE_MAIN
Indicates that public static void main() should be generated. |
|
MOCKUP
Sets GENERATE_MAIN and SUPPRESS_MODIFIERS. |
|
SUPPRESS_MODIFIERS
Suppresses the generation of methods to modify attributes. |
Field Summary | |
---|---|
String |
keyword
The keyword in the syntax corresponding to the flag. |
static Map<String,GUIFile.Flag> |
keywordTable
A mapping of keywords to associated flags. |
Method Summary | |
---|---|
static GUIFile.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GUIFile.Flag[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final GUIFile.Flag GENERATE_MAIN
public static final GUIFile.Flag SUPPRESS_MODIFIERS
public static final GUIFile.Flag MOCKUP
Field Detail |
---|
public final String keyword
public static final Map<String,GUIFile.Flag> keywordTable
Method Detail |
---|
public static final GUIFile.Flag[] values()
for(GUIFile.Flag c : GUIFile.Flag.values()) System.out.println(c);
public static GUIFile.Flag valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |