public enum GPSStateEnum extends Enum<GPSStateEnum>
| Enum Constant and Description |
|---|
GPS_EMPTY |
GPS_LOCKED |
GPS_OK |
| Modifier and Type | Method and Description |
|---|---|
static GPSStateEnum |
getGPSState(Eleveur eleveur) |
static GPSStateEnum |
getGPSState(String key) |
String |
getKey() |
static GPSStateEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GPSStateEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GPSStateEnum GPS_LOCKED
public static final GPSStateEnum GPS_EMPTY
public static final GPSStateEnum GPS_OK
public static GPSStateEnum[] values()
for (GPSStateEnum c : GPSStateEnum.values()) System.out.println(c);
public static GPSStateEnum 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 String getKey()
public static GPSStateEnum getGPSState(Eleveur eleveur)
public static GPSStateEnum getGPSState(String key)
Copyright © 2008-2013 Cybelia. All Rights Reserved.