com.garmin.fit
Enum TurnType

java.lang.Object
  extended by java.lang.Enum<TurnType>
      extended by com.garmin.fit.TurnType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TurnType>

public enum TurnType
extends java.lang.Enum<TurnType>


Enum Constant Summary
ARRIVING_IDX
           
ARRIVING_LEFT_IDX
           
ARRIVING_RIGHT_IDX
           
ARRIVING_VIA_IDX
           
ARRIVING_VIA_LEFT_IDX
           
ARRIVING_VIA_RIGHT_IDX
           
BEAR_KEEP_LEFT_IDX
           
BEAR_KEEP_RIGHT_IDX
           
CONTINUE_IDX
           
EXIT_LEFT_IDX
           
EXIT_RIGHT_IDX
           
FERRY_IDX
           
ICON_IDX_CNT
           
ICON_INV_IDX
           
INVALID
           
ROUNDABOUT_135_IDX
           
ROUNDABOUT_180_IDX
           
ROUNDABOUT_225_IDX
           
ROUNDABOUT_270_IDX
           
ROUNDABOUT_315_IDX
           
ROUNDABOUT_360_IDX
           
ROUNDABOUT_45_IDX
           
ROUNDABOUT_90_IDX
           
ROUNDABOUT_GENERIC_IDX
           
ROUNDABOUT_NEG_135_IDX
           
ROUNDABOUT_NEG_180_IDX
           
ROUNDABOUT_NEG_225_IDX
           
ROUNDABOUT_NEG_270_IDX
           
ROUNDABOUT_NEG_315_IDX
           
ROUNDABOUT_NEG_360_IDX
           
ROUNDABOUT_NEG_45_IDX
           
ROUNDABOUT_NEG_90_IDX
           
ROUNDABOUT_NEG_GENERIC_IDX
           
SHARP_TURN_LEFT_IDX
           
SHARP_TURN_RIGHT_IDX
           
TURN_LEFT_IDX
           
TURN_RIGHT_IDX
           
UTURN_LEFT_IDX
           
UTURN_RIGHT_IDX
           
 
Field Summary
protected  short value
           
 
Method Summary
static TurnType getByValue(java.lang.Short value)
           
static java.lang.String getStringFromValue(TurnType value)
          Retrieves the String Representation of the Value
 short getValue()
           
static TurnType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TurnType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ARRIVING_IDX

public static final TurnType ARRIVING_IDX

ARRIVING_LEFT_IDX

public static final TurnType ARRIVING_LEFT_IDX

ARRIVING_RIGHT_IDX

public static final TurnType ARRIVING_RIGHT_IDX

ARRIVING_VIA_IDX

public static final TurnType ARRIVING_VIA_IDX

ARRIVING_VIA_LEFT_IDX

public static final TurnType ARRIVING_VIA_LEFT_IDX

ARRIVING_VIA_RIGHT_IDX

public static final TurnType ARRIVING_VIA_RIGHT_IDX

BEAR_KEEP_LEFT_IDX

public static final TurnType BEAR_KEEP_LEFT_IDX

BEAR_KEEP_RIGHT_IDX

public static final TurnType BEAR_KEEP_RIGHT_IDX

CONTINUE_IDX

public static final TurnType CONTINUE_IDX

EXIT_LEFT_IDX

public static final TurnType EXIT_LEFT_IDX

EXIT_RIGHT_IDX

public static final TurnType EXIT_RIGHT_IDX

FERRY_IDX

public static final TurnType FERRY_IDX

ROUNDABOUT_45_IDX

public static final TurnType ROUNDABOUT_45_IDX

ROUNDABOUT_90_IDX

public static final TurnType ROUNDABOUT_90_IDX

ROUNDABOUT_135_IDX

public static final TurnType ROUNDABOUT_135_IDX

ROUNDABOUT_180_IDX

public static final TurnType ROUNDABOUT_180_IDX

ROUNDABOUT_225_IDX

public static final TurnType ROUNDABOUT_225_IDX

ROUNDABOUT_270_IDX

public static final TurnType ROUNDABOUT_270_IDX

ROUNDABOUT_315_IDX

public static final TurnType ROUNDABOUT_315_IDX

ROUNDABOUT_360_IDX

public static final TurnType ROUNDABOUT_360_IDX

ROUNDABOUT_NEG_45_IDX

public static final TurnType ROUNDABOUT_NEG_45_IDX

ROUNDABOUT_NEG_90_IDX

public static final TurnType ROUNDABOUT_NEG_90_IDX

ROUNDABOUT_NEG_135_IDX

public static final TurnType ROUNDABOUT_NEG_135_IDX

ROUNDABOUT_NEG_180_IDX

public static final TurnType ROUNDABOUT_NEG_180_IDX

ROUNDABOUT_NEG_225_IDX

public static final TurnType ROUNDABOUT_NEG_225_IDX

ROUNDABOUT_NEG_270_IDX

public static final TurnType ROUNDABOUT_NEG_270_IDX

ROUNDABOUT_NEG_315_IDX

public static final TurnType ROUNDABOUT_NEG_315_IDX

ROUNDABOUT_NEG_360_IDX

public static final TurnType ROUNDABOUT_NEG_360_IDX

ROUNDABOUT_GENERIC_IDX

public static final TurnType ROUNDABOUT_GENERIC_IDX

ROUNDABOUT_NEG_GENERIC_IDX

public static final TurnType ROUNDABOUT_NEG_GENERIC_IDX

SHARP_TURN_LEFT_IDX

public static final TurnType SHARP_TURN_LEFT_IDX

SHARP_TURN_RIGHT_IDX

public static final TurnType SHARP_TURN_RIGHT_IDX

TURN_LEFT_IDX

public static final TurnType TURN_LEFT_IDX

TURN_RIGHT_IDX

public static final TurnType TURN_RIGHT_IDX

UTURN_LEFT_IDX

public static final TurnType UTURN_LEFT_IDX

UTURN_RIGHT_IDX

public static final TurnType UTURN_RIGHT_IDX

ICON_INV_IDX

public static final TurnType ICON_INV_IDX

ICON_IDX_CNT

public static final TurnType ICON_IDX_CNT

INVALID

public static final TurnType INVALID
Field Detail

value

protected short value
Method Detail

values

public static TurnType[] 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 (TurnType c : TurnType.values())
    System.out.println(c);

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

valueOf

public static TurnType 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

getByValue

public static TurnType getByValue(java.lang.Short value)

getStringFromValue

public static java.lang.String getStringFromValue(TurnType value)
Retrieves the String Representation of the Value

Returns:
The string representation of the value

getValue

public short getValue()