public class AttrEffect extends DataSeriesCondition
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
XML_TAG |
| 构造器和说明 |
|---|
AttrEffect() |
AttrEffect(double period) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object ob) |
java.lang.String |
getConditionType()
用于JS中Config--> Object属性, new相应的类型
|
double |
getPeriod() |
boolean |
isEnabled() |
protected void |
readAttr(XMLableReader reader) |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setEnabled(boolean enabled) |
void |
setPeriod(double period) |
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
protected void |
writeAttr(XMLPrintWriter writer) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
putVanJSONConfig, toVanJSONObjectpublic static final java.lang.String XML_TAG
public boolean isEnabled()
public void setEnabled(boolean enabled)
public double getPeriod()
public void setPeriod(double period)
public void readXML(XMLableReader reader)
XMLReadablereader - XML读取对象XMLableReaderprotected void readAttr(XMLableReader reader)
public void writeXML(XMLPrintWriter writer)
XMLWriterwriter - XML写入对象protected void writeAttr(XMLPrintWriter writer)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone 在接口中 FCloneableclone 在类中 DataSeriesConditionjava.lang.CloneNotSupportedException - 如果克隆失败则抛出此异常public boolean equals(java.lang.Object ob)
equals 在类中 java.lang.Objectpublic JSONObject toJSONObject(Repository repo) throws JSONException
DataSeriesConditiontoJSONObject 在类中 DataSeriesConditionrepo - 请求JSONException - 抛错public java.lang.String getConditionType()
DataSeriesConditiongetConditionType 在类中 DataSeriesCondition