com.mapquest
Class FillStyle

java.lang.Object
  extended bycom.mapquest.FillStyle

public final class FillStyle
extends java.lang.Object

Fill styles for Rectangle and Polygon primitives.


Field Summary
static FillStyle BDiagonal
          Deprecated. Use BDIAGONAL instead.
static FillStyle BDIAGONAL
           
static FillStyle Cross
          Deprecated. Use CROSS instead.
static FillStyle CROSS
           
static FillStyle DIAG_CROSS
           
static FillStyle DiagCross
          Deprecated. Use DIAG_CROSS instead.
static FillStyle FDiagonal
          Deprecated. Use FDIAGONAL instead.
static FillStyle FDIAGONAL
           
static FillStyle Hollow
          Deprecated. Use NONE instead.
static FillStyle Horizontal
          Deprecated. Use HORIZONTAL instead.
static FillStyle HORIZONTAL
           
static FillStyle NONE
           
static FillStyle SOLID
           
static FillStyle SolidFill
          Deprecated. Use SOLID instead.
static FillStyle Vertical
          Deprecated. Use VERTICAL instead.
static FillStyle VERTICAL
           
 
Method Summary
 boolean equals(java.lang.Object otherObject)
          Compares this object to the specified object.
static FillStyle from_int(int value)
          Deprecated. Use fromInt instead.
static FillStyle fromInt(int value)
          Creates an object from an integer value.
 int hashCode()
          Returns a hash code for this FillStyle.
 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

SolidFill

public static final FillStyle SolidFill
Deprecated. Use SOLID instead.


BDiagonal

public static final FillStyle BDiagonal
Deprecated. Use BDIAGONAL instead.


Cross

public static final FillStyle Cross
Deprecated. Use CROSS instead.


DiagCross

public static final FillStyle DiagCross
Deprecated. Use DIAG_CROSS instead.


FDiagonal

public static final FillStyle FDiagonal
Deprecated. Use FDIAGONAL instead.


Horizontal

public static final FillStyle Horizontal
Deprecated. Use HORIZONTAL instead.


Vertical

public static final FillStyle Vertical
Deprecated. Use VERTICAL instead.


Hollow

public static final FillStyle Hollow
Deprecated. Use NONE instead.


SOLID

public static final FillStyle SOLID

BDIAGONAL

public static final FillStyle BDIAGONAL

CROSS

public static final FillStyle CROSS

DIAG_CROSS

public static final FillStyle DIAG_CROSS

FDIAGONAL

public static final FillStyle FDIAGONAL

HORIZONTAL

public static final FillStyle HORIZONTAL

VERTICAL

public static final FillStyle VERTICAL

NONE

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


from_int

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

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

hashCode

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

Returns:
a hash code value for this FillStyle.