public class AttrLabel extends DataSeriesCondition
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
XML_TAG |
| 构造器和说明 |
|---|
AttrLabel() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
clone() |
protected AttrLabelDetail |
createAttrLabelDetail() |
boolean |
equals(java.lang.Object ob) |
AttrLabelDetail |
getAttrLabelDetail() |
java.lang.String |
getConditionType()
用于JS中Config--> Object属性, new相应的类型
|
AttrTooltipContent |
getContent() |
AttrLabelDetail |
getGaugeValueLabelDetail() |
int |
getPosition() |
TextAttr |
getTextAttr() |
boolean |
isCustom()
自定义
|
boolean |
isEnable()
使用标签
|
boolean |
isShowGuidLine()
牵引线
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setEnable(boolean enable) |
void |
setGaugeValueLabelDetail(AttrLabelDetail gaugeValueLabelDetail) |
JSONObject |
toGaugeValueLabelJSONObject(Repository repo) |
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
JSONObject |
toTreeMapPositionLabelJSONObject(Repository repo) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
putVanJSONConfig, toVanJSONObjectpublic static final java.lang.String XML_TAG
protected AttrLabelDetail createAttrLabelDetail()
public void setEnable(boolean enable)
public boolean isEnable()
public void setGaugeValueLabelDetail(AttrLabelDetail gaugeValueLabelDetail)
public AttrLabelDetail getGaugeValueLabelDetail()
public AttrLabelDetail getAttrLabelDetail()
public TextAttr getTextAttr()
public int getPosition()
public boolean isShowGuidLine()
public boolean isCustom()
public AttrTooltipContent getContent()
public void readXML(XMLableReader reader)
XMLReadablereader - XML读取对象XMLableReaderpublic void writeXML(XMLPrintWriter writer)
XMLWriterwriter - XML写入对象public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject 在类中 DataSeriesConditionrepo - 请求JSONException - 抛错public JSONObject toGaugeValueLabelJSONObject(Repository repo) throws JSONException
JSONExceptionpublic JSONObject toTreeMapPositionLabelJSONObject(Repository repo) throws JSONException
JSONExceptionpublic boolean equals(java.lang.Object ob)
equals 在类中 java.lang.Objectpublic java.lang.String getConditionType()
DataSeriesConditiongetConditionType 在类中 DataSeriesConditionpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone 在接口中 FCloneableclone 在类中 DataSeriesConditionjava.lang.CloneNotSupportedException - 如果克隆失败则抛出此异常