|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.BaseDTStyle
com.mapquest.DTStyleEx
Contains the appearance characteristics of all features for a given display type. These characteristics include the icon name, icon type (Raster or Metafile), icon visible, label visible, low scale index, and high scale index. The scale indexes indicate the range of map scales at which the display type style applies. If the user desires to create his own icon, it must be a .BMP, which is a raster image. In order to modify feature types other than points or use complex style descriptions, use the Style File Editor application to design complex styles to use with the DTStyleEx class. The Style File Editor application can export complex styles as map style strings. The DTStyleEx class has all the functionality described for DTStyle, and additionally can modify or add styles for point, line, and polygon map features using map style strings.
| Field Summary | |
static int |
CLASS_ID
|
static java.lang.String |
CLASS_NAME
|
| Fields inherited from class com.mapquest.BaseDTStyle |
DT_NULL |
| 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 | |
DTStyleEx()
Default constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
java.lang.String |
getStyleString()
Returns the string representation of the style. |
int |
hashCode()
Returns a hash code for this DTStyleEx. |
void |
init()
Initializes object. |
void |
setStyleString(java.lang.String newString)
Sets the string representation of the style. |
| Methods inherited from class com.mapquest.BaseDTStyle |
getDT, getHighScale, getLowScale, setDT, setHighScale, setLowScale |
| 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 DTStyleEx()
| Method Detail |
public void init()
init in class BaseDTStylepublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic java.lang.String getStyleString()
public void setStyleString(java.lang.String newString)
public boolean equals(java.lang.Object otherObject)
equals in class BaseDTStyleotherObject - the object to compare this DTStyleEx against.
public int hashCode()
hashCode in class BaseDTStyle
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||