public static enum SurfacePattern.Genre extends Enum<SurfacePattern.Genre>
Modifier and Type | Method and Description |
---|---|
static SurfacePattern.Genre |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SurfacePattern.Genre[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SurfacePattern.Genre PREV
public static final SurfacePattern.Genre NEXT
public static final SurfacePattern.Genre PREVNEXT
public static SurfacePattern.Genre[] values()
for (SurfacePattern.Genre c : SurfacePattern.Genre.values()) System.out.println(c);
public static SurfacePattern.Genre 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 null