public enum AltitudeMode extends Enum<AltitudeMode>
| Enum Constant and Description |
|---|
ABSOLUTE |
CLAMP_TO_GROUND |
CLAMP_TO_SEAFLOOR |
RELATIVE_TO_GROUND |
RELATIVE_TO_SEAFLOOR |
| Modifier and Type | Method and Description |
|---|---|
static AltitudeMode |
fromString(String value)
Returns the AltitudeMode constant corresponding to the given string
value.
|
static AltitudeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AltitudeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AltitudeMode CLAMP_TO_GROUND
public static final AltitudeMode RELATIVE_TO_GROUND
public static final AltitudeMode ABSOLUTE
public static final AltitudeMode CLAMP_TO_SEAFLOOR
public static final AltitudeMode RELATIVE_TO_SEAFLOOR
public static AltitudeMode[] values()
for (AltitudeMode c : AltitudeMode.values()) System.out.println(c);
public static AltitudeMode 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 AltitudeMode fromString(String value)
value - A String specifying an altitude mode.Copyright © 2016 Open Geospatial Consortium. All rights reserved.