|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.DisplayState
Defines the Map Drawing State. It includes such information as the content type and the DPI. By default, maps are generated using content type = image/gif and 72 DPI.
ContentType| Field Summary | |
static int |
CLASS_ID
|
static java.lang.String |
CLASS_NAME
|
| Fields inherited from class com.mapquest.MQObject |
DEFAULT_ID, DEFAULT_NAME, DEFAULT_VERSION, FORMAT_NUMERIC_ID, FORMAT_TEXT_NAME, INVALID_ID, INVALID_NAME, INVALID_VERSION |
| Constructor Summary | |
DisplayState()
Default constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
boolean |
getAntiAlias()
Gets the anti-alias flag |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
ContentType |
getContentType()
Returns the Mapquest content Type for the map output. |
long |
getDPI()
Returns the DPI for the map output. |
int |
hashCode()
Returns a hash code for this DisplayState. |
void |
init()
Initializes object. |
void |
setAntiAlias(boolean bAA)
Sets anti-alias flag, for use with PNG and GIF default is on or true |
void |
setContentType(ContentType contenttype)
Sets the content Type for the map output. |
void |
setDPI(long DPI)
Sets the DPI for the map output. |
| Methods inherited from class com.mapquest.MQObject |
clone, getFormat, getIdWithVersion, getNameWithVersion, getObjectVersion, getTypeId, getTypeName, getVerboseConsoleOutput, setFormat, setObjectVersion, setVerboseConsoleOutput, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int CLASS_ID
public static final java.lang.String CLASS_NAME
| Constructor Detail |
public DisplayState()
| Method Detail |
public void init()
init in class MQObjectpublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic void setContentType(ContentType contenttype)
contenttype - The content type, default is "image/gif"public ContentType getContentType()
public void setDPI(long DPI)
DPI - The DPI, default is 72.public long getDPI()
public void setAntiAlias(boolean bAA)
bAA - the anti-alias flagpublic boolean getAntiAlias()
public boolean equals(java.lang.Object otherObject)
equals in class MQObjectotherObject - the object to compare this DisplayState against.
public int hashCode()
hashCode in class MQObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||