com.mapquest
Class PenStyle

java.lang.Object
  extended bycom.mapquest.PenStyle

public final class PenStyle
extends java.lang.Object

Pen styles for Rectangle and Line primitives.


Field Summary
static PenStyle Dash
          Deprecated. Use DASH instead.
static PenStyle DASH
           
static PenStyle DASH_DOT
           
static PenStyle DASH_DOT_DOT
           
static PenStyle DashDot
          Deprecated. Use DASH_DOT instead.
static PenStyle DashDotDot
          Deprecated. Use DASH_DOT_DOT instead.
static PenStyle Dot
          Deprecated. Use DOT instead.
static PenStyle DOT
           
static PenStyle NONE
           
static PenStyle Null
          Deprecated. Use NONE instead.
static PenStyle Solid
          Deprecated. Use SOLID instead.
static PenStyle SOLID
           
 
Method Summary
 boolean equals(java.lang.Object otherObject)
          Compares this object to the specified object.
static PenStyle from_int(int value)
          Deprecated. Use fromInt instead.
static PenStyle fromInt(int value)
          Creates an object from an integer value.
 int hashCode()
          Returns a hash code for this PenStyle.
 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

Solid

public static final PenStyle Solid
Deprecated. Use SOLID instead.


Dash

public static final PenStyle Dash
Deprecated. Use DASH instead.


Dot

public static final PenStyle Dot
Deprecated. Use DOT instead.


DashDot

public static final PenStyle DashDot
Deprecated. Use DASH_DOT instead.


DashDotDot

public static final PenStyle DashDotDot
Deprecated. Use DASH_DOT_DOT instead.


Null

public static final PenStyle Null
Deprecated. Use NONE instead.


SOLID

public static final PenStyle SOLID

DASH

public static final PenStyle DASH

DOT

public static final PenStyle DOT

DASH_DOT

public static final PenStyle DASH_DOT

DASH_DOT_DOT

public static final PenStyle DASH_DOT_DOT

NONE

public static final PenStyle NONE
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 PenStyle fromInt(int value)
Creates an object from an integer value.


from_int

public static PenStyle 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 PenStyle object that has same attributes as this object.

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

hashCode

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

Returns:
a hash code value for this PenStyle.