com.mapquest
Class DrawTrigger

java.lang.Object
  extended bycom.mapquest.DrawTrigger

public final class DrawTrigger
extends java.lang.Object

Constants for trigger DTs.


Field Summary
static DrawTrigger AFTER_POLYGONS
           
static DrawTrigger AFTER_ROUTE_HIGHLIGHT
           
static DrawTrigger AFTER_TEXT
           
static DrawTrigger BEFORE_POLYGONS
           
static DrawTrigger BEFORE_ROUTE_HIGHLIGHT
           
static DrawTrigger BEFORE_TEXT
           
 
Method Summary
 boolean equals(java.lang.Object otherObject)
          Compares this object to the specified object.
static DrawTrigger from_int(int value)
          Deprecated. Use fromInt instead.
static DrawTrigger fromInt(int value)
          Creates an object from a positive integer value.
 int hashCode()
          Returns a hash code for this DrawTrigger.
 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

BEFORE_POLYGONS

public static final DrawTrigger BEFORE_POLYGONS

AFTER_POLYGONS

public static final DrawTrigger AFTER_POLYGONS

BEFORE_TEXT

public static final DrawTrigger BEFORE_TEXT

AFTER_TEXT

public static final DrawTrigger AFTER_TEXT

BEFORE_ROUTE_HIGHLIGHT

public static final DrawTrigger BEFORE_ROUTE_HIGHLIGHT

AFTER_ROUTE_HIGHLIGHT

public static final DrawTrigger AFTER_ROUTE_HIGHLIGHT
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 DrawTrigger fromInt(int value)
Creates an object from a positive integer value.


from_int

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

Creates an object from a positive 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 DrawTrigger object that has same attributes as this object.

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

hashCode

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

Returns:
a hash code value for this DrawTrigger.