net.sf.bt747.test
Enum IBlue747Model.DeviceMode

java.lang.Object
  extended by java.lang.Enum<IBlue747Model.DeviceMode>
      extended by net.sf.bt747.test.IBlue747Model.DeviceMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IBlue747Model.DeviceMode>
Enclosing class:
IBlue747Model

public static enum IBlue747Model.DeviceMode
extends java.lang.Enum<IBlue747Model.DeviceMode>

Possible communication modes the device is in.

Author:
Mario

Enum Constant Summary
DEVICE_MODE_MTKBIN
           
DEVICE_MODE_NMEA
           
DEVICE_MODE_SIRFIII
           
DEVICE_MODE_WP
           
 
Method Summary
static IBlue747Model.DeviceMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IBlue747Model.DeviceMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEVICE_MODE_NMEA

public static final IBlue747Model.DeviceMode DEVICE_MODE_NMEA

DEVICE_MODE_MTKBIN

public static final IBlue747Model.DeviceMode DEVICE_MODE_MTKBIN

DEVICE_MODE_WP

public static final IBlue747Model.DeviceMode DEVICE_MODE_WP

DEVICE_MODE_SIRFIII

public static final IBlue747Model.DeviceMode DEVICE_MODE_SIRFIII
Method Detail

values

public static IBlue747Model.DeviceMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IBlue747Model.DeviceMode c : IBlue747Model.DeviceMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IBlue747Model.DeviceMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null