public class AttrBackground extends DataSeriesCondition
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
AttrBackground() |
AttrBackground(Background seriesBackground) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object ob) |
java.lang.String |
getConditionType()
用于JS中Config--> Object属性, new相应的类型
|
Background |
getSeriesBackground()
返回条件背景
|
boolean |
isShadow()
返回是否开启阴影
|
void |
putVanJSONConfig(JSONObject jo,
Repository repo) |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setSeriesBackground(Background seriesBackground)
设置条件背景
|
void |
setShadow(boolean shadow)
设置是否开启阴影
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
toVanJSONObject
public static final java.lang.String XML_TAG
public AttrBackground()
public AttrBackground(Background seriesBackground)
public void setSeriesBackground(Background seriesBackground)
public Background getSeriesBackground()
public void setShadow(boolean shadow)
shadow
- 是否开启阴影public boolean isShadow()
public void readXML(XMLableReader reader)
XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
writer
- XML写入对象public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 DataSeriesCondition
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在类中 DataSeriesCondition
repo
- 请求JSONException
- 抛错public void putVanJSONConfig(JSONObject jo, Repository repo) throws JSONException
putVanJSONConfig
在类中 DataSeriesCondition
JSONException
public java.lang.String getConditionType()
DataSeriesCondition
getConditionType
在类中 DataSeriesCondition