public class AttrNode extends DataSeriesCondition
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
AttrNode() |
限定符和类型 | 方法和说明 |
---|---|
void |
addToJSONObject(JSONObject js,
Repository repo,
ChartWebPara para)
加入json
|
boolean |
equals(java.lang.Object ob) |
ColorBackground |
getBorderColor() |
double |
getBorderWidth() |
java.lang.String |
getConditionType()
用于JS中Config--> Object属性, new相应的类型
|
ImageBackground |
getImageBackground() |
double |
getOpacity() |
double |
getRadius() |
boolean |
isAutoRadius() |
boolean |
isUseImage() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setAutoRadius(boolean autoRadius) |
void |
setBorderColor(ColorBackground borderColor) |
void |
setBorderWidth(double borderWidth) |
void |
setImageBackground(ImageBackground imageBackground) |
void |
setOpacity(double opacity) |
void |
setRadius(double radius) |
void |
setUseImage(boolean useImage) |
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
clone, putVanJSONConfig, toVanJSONObject
public static final java.lang.String XML_TAG
public boolean isAutoRadius()
public void setAutoRadius(boolean autoRadius)
public double getRadius()
public void setRadius(double radius)
public double getBorderWidth()
public void setBorderWidth(double borderWidth)
public ColorBackground getBorderColor()
public void setBorderColor(ColorBackground borderColor)
public double getOpacity()
public void setOpacity(double opacity)
public boolean isUseImage()
public void setUseImage(boolean useImage)
public ImageBackground getImageBackground()
public void setImageBackground(ImageBackground imageBackground)
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
DataSeriesCondition
toJSONObject
在类中 DataSeriesCondition
repo
- 请求JSONException
- 抛错public void addToJSONObject(JSONObject js, Repository repo, ChartWebPara para) throws JSONException
js
- json对象JSONException
- 抛错public java.lang.String getConditionType()
DataSeriesCondition
getConditionType
在类中 DataSeriesCondition