public class VanChartHtmlLabel extends java.lang.Object implements XMLable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
VanChartHtmlLabel() |
VanChartHtmlLabel(java.lang.String customText) |
限定符和类型 | 方法和说明 |
---|---|
void |
addToJSONObject(JSONObject js) |
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object ob) |
java.lang.String |
getCustomText() |
java.lang.String |
getHeight() |
java.lang.String |
getWidth() |
boolean |
isCustomHeight() |
boolean |
isCustomWidth() |
boolean |
isUseHtml() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setCustomHeight(boolean isCustomHeight) |
void |
setCustomText(java.lang.String customText) |
void |
setCustomWidth(boolean isCustomWidth) |
void |
setHeight(java.lang.String height) |
void |
setUseHtml(boolean useHtml) |
void |
setWidth(java.lang.String width) |
void |
writeXML(XMLPrintWriter xmlPrintWriter)
Write XML.
|
public static final java.lang.String XML_TAG
public VanChartHtmlLabel()
public VanChartHtmlLabel(java.lang.String customText)
public java.lang.String getCustomText()
public void setCustomText(java.lang.String customText)
public boolean isUseHtml()
public void setUseHtml(boolean useHtml)
public boolean isCustomWidth()
public void setCustomWidth(boolean isCustomWidth)
public boolean isCustomHeight()
public void setCustomHeight(boolean isCustomHeight)
public java.lang.String getWidth()
public void setWidth(java.lang.String width)
public java.lang.String getHeight()
public void setHeight(java.lang.String height)
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter xmlPrintWriter)
XMLWriter
public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public void addToJSONObject(JSONObject js) throws JSONException
JSONException