|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQBaseDTStyle
|
+--MQDTStyle
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.
Defined in mqobjects.js
| Field Summary | |
<private> MQColorStyle |
m_FontBoxBkgdColor
Value to represent the font box background color style to be used |
<private> MQColorStyle |
m_FontBoxOutlineColor
Value to represent the font box outline color style to be used |
<private> MQColorStyle |
m_FontColor
Value to represent the font color style to be used |
<private> MQColorStyle |
m_FontOutlineColor
Value to represent the font outline color style to be used |
<private> MQFontStyle |
m_FontStyle
Value to represent the font style to be used |
<private> MQSymbolType |
m_SymbolType
Value to represent the symbol type to be used |
| Fields inherited from class MQObject |
m_xmlDoc, m_xpath
|
| Constructor Summary | |
MQDTStyle
()
Constructs a new MQDTStyle object. |
|
| Method Summary | |
String
|
getClassName()
Returns the text name of this class. |
MQColorStyle
|
getFontBoxBkgdColor()
Gets the FontBoxBkgdColor. |
int
|
getFontBoxMargin()
Returns the FontBoxMargin of this object. |
MQColorStyle
|
getFontBoxOutlineColor()
Gets the FontBoxOutlineColor. |
MQColorStyle
|
getFontColor()
Gets the color. |
String
|
getFontName()
Returns the FontName of this object. |
MQColorStyle
|
getFontOutlineColor()
Gets the FontOutlineColor. |
int
|
getFontSize()
Returns the FontSize of this object. |
MQFontStyle
|
getFontStyle()
Gets the font. |
boolean
|
getLabelVisible()
Gets the LabelVisible flag |
int
|
getObjectVersion()
Returns the version of this class. |
String
|
getSymbolName()
Returns the SymbolName of this object. |
MQSymbolType
|
getSymbolType()
Gets the color. |
boolean
|
getVisible()
Gets the Visible flag |
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object. |
String
|
saveXml()
Build an xml string that represents this object. |
void
|
setFontBoxBkgdColor(<MQColorStyle> obj)
Sets the FontBoxBkgdColor. |
void
|
setFontBoxMargin(<int> val)
Sets the FontBoxMargin of this object. |
void
|
setFontBoxOutlineColor(<MQColorStyle> obj)
Sets the FontBoxOutlineColor. |
void
|
setFontColor(<MQColorStyle> obj)
Sets the color. |
void
|
setFontName(<String> val)
Sets the FontName of this object. |
void
|
setFontOutlineColor(<MQColorStyle> obj)
Sets the FontOutlineColor. |
void
|
setFontSize(<int> val)
Sets the FontSize of this object. |
void
|
setFontStyle(<MQFontStyle> obj)
Sets the font. |
void
|
setLabelVisible(<Boolean> bFlag)
Sets the LabelVisible flag. |
void
|
setSymbolName(<String> val)
Sets the SymbolName of this object. |
void
|
setSymbolType(<MQSymbolType> obj)
Sets the color. |
void
|
setVisible(<Boolean> bFlag)
Sets the Visible flag. |
| Methods inherited from class MQBaseDTStyle |
setDT, getDT, setHighScale, getHighScale, setLowScale, getLowScale, equals
|
| Methods inherited from class MQObject |
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
|
| Field Detail |
<private> MQColorStyle m_FontBoxBkgdColor
<private> MQColorStyle m_FontBoxOutlineColor
<private> MQColorStyle m_FontColor
<private> MQColorStyle m_FontOutlineColor
<private> MQFontStyle m_FontStyle
<private> MQSymbolType m_SymbolType
| Constructor Detail |
MQDTStyle()
| Method Detail |
String getClassName()
MQColorStyle getFontBoxBkgdColor()
int getFontBoxMargin()
MQColorStyle getFontBoxOutlineColor()
MQColorStyle getFontColor()
String getFontName()
MQColorStyle getFontOutlineColor()
int getFontSize()
MQFontStyle getFontStyle()
boolean getLabelVisible()
int getObjectVersion()
String getSymbolName()
MQSymbolType getSymbolType()
boolean getVisible()
void loadXml(<String> strXml)
strXml - the xml to be assigned.
String saveXml()
void setFontBoxBkgdColor(<MQColorStyle> obj)
obj - The MQColorStyle to set m_FontBoxBkgdColor type to.
void setFontBoxMargin(<int> val)
val - The new FontBoxMargin of this object.
void setFontBoxOutlineColor(<MQColorStyle> obj)
obj - The MQColorStyle to set m_FontBoxOutlineColor type to.
void setFontColor(<MQColorStyle> obj)
obj - The MQColorStyle to set m_FontColor type to.
void setFontName(<String> val)
val - The new FontName of this object.
void setFontOutlineColor(<MQColorStyle> obj)
obj - The MQColorStyle to set m_FontOutlineColor type to.
void setFontSize(<int> val)
val - The new FontSize of this object.
void setFontStyle(<MQFontStyle> obj)
obj - The MQFontStyle to set m_FontStyle type to.
void setLabelVisible(<Boolean> bFlag)
bFlag - The LabelVisible flag
void setSymbolName(<String> val)
val - The new SymbolName of this object.
void setSymbolType(<MQSymbolType> obj)
obj - The MQSymbolType to set m_SymbolType type to.
void setVisible(<Boolean> bFlag)
bFlag - The Visible flag
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||