com.mapquest
Class SymbolType

java.lang.Object
  extended bycom.mapquest.SymbolType

public final class SymbolType
extends java.lang.Object

Constants for the symbol type in a DTStyle.


Field Summary
static SymbolType Raster
          Deprecated. Use RASTER instead.
static SymbolType RASTER
           
static SymbolType Vector
          Deprecated. Use VECTOR instead.
static SymbolType VECTOR
           
 
Method Summary
 boolean equals(java.lang.Object otherObject)
          Compares this object to the specified object.
static SymbolType from_int(int value)
          Deprecated. Use fromInt instead.
static SymbolType fromInt(int value)
          Creates an object from an integer value.
 int hashCode()
          Returns a hash code for this SymbolType.
 int intValue()
          Returns an int type representing this object.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Raster

public static final SymbolType Raster
Deprecated. Use RASTER instead.


Vector

public static final SymbolType Vector
Deprecated. Use VECTOR instead.


RASTER

public static final SymbolType RASTER

VECTOR

public static final SymbolType VECTOR
Method Detail

toString

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


intValue

public int intValue()
Returns an int type representing this object.


fromInt

public static SymbolType fromInt(int value)
Creates an object from an integer value.


from_int

public static SymbolType from_int(int value)
Deprecated. Use fromInt instead.

Creates an object from an integer value.


equals

public boolean equals(java.lang.Object otherObject)
Compares this object to the specified object. The result is true if and only if the argument is not null and is a SymbolType object that has same attributes as this object.

Parameters:
otherObject - the object to compare this SymbolType against.
Returns:
true if the SymbolType objects are equal; false otherwise.

hashCode

public int hashCode()
Returns a hash code for this SymbolType.

Returns:
a hash code value for this SymbolType.