public enum MapComponentType extends java.lang.Enum<MapComponentType>
Enum Constant and Description |
---|
HEAVYWEIGHT
Indicates that MapView instance will be initialized as a heavyweight component.
|
LIGHTWEIGHT
Indicates that MapView instance will be initialized as a lightweight (off-screen)
component.
|
Modifier and Type | Method and Description |
---|---|
static MapComponentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapComponentType LIGHTWEIGHT
public static final MapComponentType HEAVYWEIGHT
public static MapComponentType[] values()
for (MapComponentType c : MapComponentType.values()) System.out.println(c);
public static MapComponentType 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 namejava.lang.NullPointerException
- if the argument is null