public enum MapColorScheme extends Enum<MapColorScheme>
| Modifier and Type | Method and Description |
|---|---|
static MapColorScheme |
from(String value) |
static MapColorScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapColorScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapColorScheme RED
public static final MapColorScheme GREEN
public static final MapColorScheme BLUE
public static MapColorScheme[] values()
for (MapColorScheme c : MapColorScheme.values()) System.out.println(c);
public static MapColorScheme 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 nullpublic static MapColorScheme from(String value)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.