public class VanChartAttrMarker extends DataSeriesCondition
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
VanChartAttrMarker() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object ob) |
ColorBackground |
getColorBackground() |
java.lang.String |
getConditionType()
用于JS中Config--> Object属性, new相应的类型
|
double |
getHeight() |
ImageBackground |
getImageBackground() |
MarkerType |
getMarkerType() |
double |
getRadius() |
java.lang.String |
getSymbol(Repository repo,
ChartWebPara para) |
double |
getWidth() |
boolean |
isCommon()
是否是常规
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setColorBackground(ColorBackground colorBackground) |
void |
setCommon(boolean isCommon) |
void |
setHeight(double height) |
void |
setImageBackground(ImageFileBackground imageBackground) |
void |
setMarkerType(MarkerType markerType) |
void |
setRadius(double radius) |
void |
setWidth(double width) |
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
JSONObject |
toJSONObject(Repository repo,
ChartWebPara para)
转为json数据
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
clone, putVanJSONConfig, toVanJSONObject
public static final java.lang.String XML_TAG
public void setColorBackground(ColorBackground colorBackground)
public void setCommon(boolean isCommon)
public void setHeight(double height)
public void setImageBackground(ImageFileBackground imageBackground)
public void setMarkerType(MarkerType markerType)
public void setRadius(double radius)
public void setWidth(double width)
public ImageBackground getImageBackground()
public double getWidth()
public double getRadius()
public double getHeight()
public ColorBackground getColorBackground()
public boolean isCommon()
public MarkerType getMarkerType()
public void readXML(XMLableReader reader)
XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
writer
- XML写入对象public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在类中 DataSeriesCondition
repo
- 请求JSONException
- 抛错public JSONObject toJSONObject(Repository repo, ChartWebPara para) throws JSONException
repo
- 请求JSONException
- 抛错public java.lang.String getSymbol(Repository repo, ChartWebPara para)
public java.lang.String getConditionType()
DataSeriesCondition
getConditionType
在类中 DataSeriesCondition