|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Setup.System> uk.co.javagear.Setup.System
public static enum Setup.System
The different kinds of systems for which ROMs can be read.
Enum Constant Summary | |
---|---|
GG
SEGA Game Gear. |
|
SMS
SEGA Master System. |
Field Summary | |
---|---|
private java.lang.String |
name
The System 's full name. |
private java.lang.String |
romFileExtension
The System 's ROM file extension. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the System 's full name. |
java.lang.String |
getRomFileExtension()
Returns the System 's ROM file extension. |
static Setup.System |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Setup.System[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Setup.System SMS
public static final Setup.System GG
Field Detail |
---|
private final java.lang.String name
System
's full name.
private final java.lang.String romFileExtension
System
's ROM file extension.
Method Detail |
---|
public static Setup.System[] values()
for (Setup.System c : Setup.System.values()) System.out.println(c);
public static Setup.System 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
System
's full name.
System
's full name.public java.lang.String getRomFileExtension()
System
's ROM file extension.
System
's ROM file extension.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |