com.mapquest
Class FontStyle

java.lang.Object
  extended bycom.mapquest.FontStyle

public class FontStyle
extends java.lang.Object

Constants for the font style in a DTStyle. When using DTStyles you may reset the font style back to the its default style from the style file state by specifying mqFontInvalid.


Field Summary
static FontStyle BOLD
           
static FontStyle BOXED
           
static FontStyle INVALID
           
static FontStyle ITALICS
           
static FontStyle mqFontBold
          Deprecated. Use BOLD instead.
static FontStyle mqFontBoxed
          Deprecated. Use BOXED instead.
static FontStyle mqFontInvalid
          Deprecated. Use INVALID instead.
static FontStyle mqFontItalics
          Deprecated. Use ITALICS instead.
static FontStyle mqFontNormal
          Deprecated. Use NORMAL instead.
static FontStyle mqFontOutlined
          Deprecated. Use OUTLINED instead.
static FontStyle mqFontSemiBold
          Deprecated. Use SEMIBOLD instead.
static FontStyle mqFontStrikeout
          Deprecated. Use STRIKEOUT instead.
static FontStyle mqFontThin
          Deprecated. Use THIN instead.
static FontStyle mqFontUnderline
          Deprecated. Use UNDERLINE instead.
static FontStyle NORMAL
           
static FontStyle OUTLINED
           
static FontStyle SEMIBOLD
           
static FontStyle STRIKEOUT
           
static FontStyle THIN
           
static FontStyle UNDERLINE
           
 
Method Summary
 boolean equals(java.lang.Object otherObject)
          Compares this object to the specified object.
static FontStyle from_int(int value)
          Deprecated. Use fromInt instead.
static FontStyle fromInt(int value)
          Creates an object from an integer value.
 int hashCode()
          Returns a hash code for this FontStyle.
 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

mqFontInvalid

public static final FontStyle mqFontInvalid
Deprecated. Use INVALID instead.


mqFontNormal

public static final FontStyle mqFontNormal
Deprecated. Use NORMAL instead.


mqFontBold

public static final FontStyle mqFontBold
Deprecated. Use BOLD instead.


mqFontBoxed

public static final FontStyle mqFontBoxed
Deprecated. Use BOXED instead.


mqFontOutlined

public static final FontStyle mqFontOutlined
Deprecated. Use OUTLINED instead.


mqFontItalics

public static final FontStyle mqFontItalics
Deprecated. Use ITALICS instead.


mqFontUnderline

public static final FontStyle mqFontUnderline
Deprecated. Use UNDERLINE instead.


mqFontStrikeout

public static final FontStyle mqFontStrikeout
Deprecated. Use STRIKEOUT instead.


mqFontThin

public static final FontStyle mqFontThin
Deprecated. Use THIN instead.


mqFontSemiBold

public static final FontStyle mqFontSemiBold
Deprecated. Use SEMIBOLD instead.


INVALID

public static final FontStyle INVALID

NORMAL

public static final FontStyle NORMAL

BOLD

public static final FontStyle BOLD

BOXED

public static final FontStyle BOXED

OUTLINED

public static final FontStyle OUTLINED

ITALICS

public static final FontStyle ITALICS

UNDERLINE

public static final FontStyle UNDERLINE

STRIKEOUT

public static final FontStyle STRIKEOUT

THIN

public static final FontStyle THIN

SEMIBOLD

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


from_int

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

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

hashCode

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

Returns:
a hash code value for this FontStyle.