public class AttrTrendLine extends DataSeriesCondition
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
XML_TAG |
| 构造器和说明 |
|---|
AttrTrendLine() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(ConditionTrendLine o)
添加ConditionTrendLine
|
void |
clear()
清空 趋势线
|
java.lang.Object |
clone() |
ConditionTrendLine |
get(int index)
返回序号index的ConditionTrendLine
|
java.lang.String |
getConditionType()
用于JS中Config--> Object属性, new相应的类型
|
boolean |
isEmpty()
是否是空的
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
int |
size()
返回趋势线的个数
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
JSONObject |
toVanJSONObject(Repository repo) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
putVanJSONConfigpublic static final java.lang.String XML_TAG
public void clear()
public void add(ConditionTrendLine o)
o - 趋势线public int size()
public boolean isEmpty()
public ConditionTrendLine get(int index)
index - 序号public java.lang.String getConditionType()
DataSeriesConditiongetConditionType 在类中 DataSeriesConditionpublic JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject 在类中 DataSeriesConditionrepo - 请求JSONException - 抛错public JSONObject toVanJSONObject(Repository repo) throws JSONException
toVanJSONObject 在类中 DataSeriesConditionJSONExceptionpublic void readXML(XMLableReader reader)
XMLReadablereader - XML读取对象XMLableReaderpublic void writeXML(XMLPrintWriter writer)
XMLWriterwriter - XML写入对象public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone 在接口中 FCloneableclone 在类中 DataSeriesConditionjava.lang.CloneNotSupportedException - 如果克隆失败则抛出此异常