public class AttrAlpha extends DataSeriesCondition
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
XML_TAG |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(java.lang.Object ob) |
float |
getAlpha()
返回透明度大小
|
java.lang.String |
getConditionType()
用于JS中Config--> Object属性, new相应的类型
|
void |
putVanJSONConfig(JSONObject jo,
Repository repo) |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setAlpha(float alpha)
设置透明度大小
|
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
clone, toVanJSONObjectpublic static final java.lang.String XML_TAG
public AttrAlpha()
public AttrAlpha(float alpha)
alpha - 指定的透明值public void setAlpha(float alpha)
public float getAlpha()
public void readXML(XMLableReader reader)
XMLReadablereader - XML读取对象XMLableReaderpublic void writeXML(XMLPrintWriter writer)
XMLWriterwriter - XML写入对象public boolean equals(java.lang.Object ob)
equals 在类中 java.lang.Objectpublic JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject 在类中 DataSeriesConditionrepo - 请求JSONException - 抛错public void putVanJSONConfig(JSONObject jo, Repository repo) throws JSONException
putVanJSONConfig 在类中 DataSeriesConditionJSONExceptionpublic java.lang.String getConditionType()
DataSeriesConditiongetConditionType 在类中 DataSeriesCondition