public class ChartSummaryColumn extends java.lang.Object implements XMLable
构造器和说明 |
---|
ChartSummaryColumn() |
ChartSummaryColumn(java.lang.String name)
Constructor.
|
ChartSummaryColumn(java.lang.String name,
DataFunction function)
Constructor.
|
ChartSummaryColumn(java.lang.String name,
java.lang.String customName,
DataFunction function)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone()
Clone.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCustomName() |
DataFunction |
getFunction()
Return function.
|
java.lang.String |
getName()
Return the name of column.
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setCustomName(java.lang.String customName) |
void |
setFunction(DataFunction function)
Set function.
|
void |
setName(java.lang.String name)
Set the name of column.
|
JSONObject |
toJSONObject() |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public ChartSummaryColumn()
public ChartSummaryColumn(java.lang.String name)
name
- the name of column.public ChartSummaryColumn(java.lang.String name, DataFunction function)
name
- the name of column.function
- function.public ChartSummaryColumn(java.lang.String name, java.lang.String customName, DataFunction function)
name
- the name of column.customName
- the name from customerfunction
- function.public JSONObject toJSONObject() throws JSONException
JSONException
public java.lang.String getName()
public void setName(java.lang.String name)
public void setCustomName(java.lang.String customName)
public java.lang.String getCustomName()
public DataFunction getFunction()
public void setFunction(DataFunction function)
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter