public class AttrTooltip extends DataSeriesCondition
限定符和类型 | 字段和说明 |
---|---|
protected AttrTooltipContent |
content |
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
AttrTooltip() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object ob) |
protected JSONObject |
fontStyleToJSONObject(Repository repo) |
java.lang.String |
getConditionType()
用于JS中Config--> Object属性, new相应的类型
|
AttrTooltipContent |
getContent() |
int |
getDuration() |
GeneralInfo |
getGeneralInfo() |
TextAttr |
getTextAttr() |
void |
initAttrTooltipContent() |
boolean |
isCustom()
自定义
|
boolean |
isEnable()
使用数据点提示
|
boolean |
isFollowMouse()
跟随鼠标
|
boolean |
isShowMutiSeries()
显示多系列
|
protected void |
readAttrTooltipContent(XMLableReader reader) |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setContent(AttrTooltipContent content) |
void |
setCustom(boolean isCustom) |
void |
setDuration(int duration) |
void |
setEnable(boolean enable) |
void |
setFollowMouse(boolean followMouse) |
void |
setGeneralInfo(GeneralInfo generalInfo) |
void |
setShowMutiSeries(boolean isShowMutiSeries) |
void |
setTextAttr(TextAttr textAttr) |
JSONObject |
toJSONObject(Repository repo)
转为json数据
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
clone, putVanJSONConfig, toVanJSONObject
public static final java.lang.String XML_TAG
protected AttrTooltipContent content
public void initAttrTooltipContent()
public void setEnable(boolean enable)
public boolean isEnable()
public int getDuration()
public void setDuration(int duration)
public void setContent(AttrTooltipContent content)
public void setCustom(boolean isCustom)
public void setTextAttr(TextAttr textAttr)
public void setGeneralInfo(GeneralInfo generalInfo)
public void setFollowMouse(boolean followMouse)
public void setShowMutiSeries(boolean isShowMutiSeries)
public TextAttr getTextAttr()
public boolean isCustom()
public AttrTooltipContent getContent()
public GeneralInfo getGeneralInfo()
public boolean isShowMutiSeries()
public boolean isFollowMouse()
public void readXML(XMLableReader reader)
XMLReadable
reader
- XML读取对象XMLableReader
protected void readAttrTooltipContent(XMLableReader reader)
public void writeXML(XMLPrintWriter writer)
XMLWriter
writer
- XML写入对象public JSONObject toJSONObject(Repository repo) throws JSONException
toJSONObject
在类中 DataSeriesCondition
repo
- 请求JSONException
- 抛错protected JSONObject fontStyleToJSONObject(Repository repo) throws JSONException
JSONException
public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
public java.lang.String getConditionType()
DataSeriesCondition
getConditionType
在类中 DataSeriesCondition