|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<GpsMode>
net.sf.marineapi.nmea.util.GpsMode
public enum GpsMode
GpsMode defines the supported GPS operating modes.
| Enum Constant Summary | |
|---|---|
AUTOMATIC
Operating in autonomous mode (automatic 2D/3D). |
|
DGPS
Operating in differential mode (DGPS). |
|
ESTIMATED
Operating in estimating mode (dead-reckoning). |
|
MANUAL
Operating in manual mode (forced 2D or 3D). |
|
NONE
No valid GPS data available. |
|
SIMULATED
Simulated data (running in simulator/demo mode) |
|
| Method Summary | |
|---|---|
char |
toChar()
Returns the corresponding char indicator of GPS mode. |
static GpsMode |
valueOf(char ch)
Returns the GpsMode enum corresponding the actual char indicator used in the sentencess. |
static GpsMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GpsMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GpsMode AUTOMATIC
public static final GpsMode MANUAL
public static final GpsMode DGPS
public static final GpsMode ESTIMATED
public static final GpsMode SIMULATED
public static final GpsMode NONE
| Method Detail |
|---|
public static final GpsMode[] values()
for(GpsMode c : GpsMode.values())
System.out.println(c);
public static GpsMode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic char toChar()
public static GpsMode valueOf(char ch)
ch - Char mode indicator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||