faa.tg.prep.aces.geomaps
Enum AcesSymbolType

java.lang.Object
  extended by java.lang.Enum<AcesSymbolType>
      extended by faa.tg.prep.aces.geomaps.AcesSymbolType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AcesSymbolType>

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

 AcesSymbolType represents the Symbols used in the ACES GEOMAPS
 dataset.
 
See the source AcesSymbolType

Version:
$Id: AcesSymbolType.java,v 3.2 2008/03/28 11:18:26 samf Exp $
Author:
Dan Warburton, Timothy Swantek

Enum Constant Summary
ALIGNMENT
           
INVRT_TEEPEE
           
LETTER_O
           
NML_BOX
           
NONE
           
PERIOD
          Similar to the AcesLineStyle object; the 3rd byte in the DcpHeaderWord contains the data on which symbolType is to be used.
PLUS
           
PT_BOX
           
SEG_BOX
           
ZERO
           
 
Field Summary
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
private  java.lang.String typeName
           
 
Method Summary
static AcesSymbolType getSymbol(java.lang.String value)
          Get symbol type of given value
 java.lang.String getTypeName()
          Method getTypeName
 java.lang.String toString()
          Returns a string representation of this object
static AcesSymbolType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AcesSymbolType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PERIOD

public static final AcesSymbolType PERIOD
Similar to the AcesLineStyle object; the 3rd byte in the DcpHeaderWord contains the data on which symbolType is to be used. When bitwise '&' is applied to this byte the resulting value yields the follwing results: 11 = PERIOD 14 = PLUS 22 = LETTER_O 29 = PY_BOX 31 = INVRT_TEEPEE 42 = NML_BOX 44 = SEG_BOX 48 = ZERO Besides these there are two other occurances: If it's a line it has no symbol representation. This is the equivalent of NONE. (NoSymbol). If the entire word is the hexidecimal value of 7fff7fff then we have a header alignment word which has the value of ALIGNMENT.


PLUS

public static final AcesSymbolType PLUS

LETTER_O

public static final AcesSymbolType LETTER_O

PT_BOX

public static final AcesSymbolType PT_BOX

INVRT_TEEPEE

public static final AcesSymbolType INVRT_TEEPEE

NML_BOX

public static final AcesSymbolType NML_BOX

SEG_BOX

public static final AcesSymbolType SEG_BOX

ZERO

public static final AcesSymbolType ZERO

NONE

public static final AcesSymbolType NONE

ALIGNMENT

public static final AcesSymbolType ALIGNMENT
Field Detail

typeName

private java.lang.String typeName

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

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

getTypeName

public final java.lang.String getTypeName()
Method getTypeName

Returns:
the name of this SymbolType in String format.

toString

public java.lang.String toString()
Returns a string representation of this object

Overrides:
toString in class java.lang.Enum<AcesSymbolType>

getSymbol

public static AcesSymbolType getSymbol(java.lang.String value)
Get symbol type of given value

Parameters:
value - - the value to look for
Returns:
the symbol type of the given value, or null if unable to find