public class MeterTableDefinition extends TableDataDefinition
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
NONEXISTENT_POINT
构造器和说明 |
---|
MeterTableDefinition() |
限定符和类型 | 方法和说明 |
---|---|
protected java.util.List |
changePresentName(java.util.List nameList) |
java.lang.Object |
clone() |
ChartData |
createChartData(DataModel resultSet,
DataProcessor dataProcessor)
数据定义转为生成图表仪表盘的结果数据集
|
JSONObject |
createDataConfig()
将数据的配置也作为配置项传到前端
|
protected java.util.List |
dealNameList(java.util.List nameList) |
boolean |
equals(java.lang.Object ob) |
protected int |
getColumnIndex(DataModel resultSet) |
java.lang.String |
getDataDefinitionType() |
int |
getMeterType()
返回仪表盘的类型
|
java.lang.String |
getName()
返回仪表盘的名 (系列or分类)标签
|
java.lang.String |
getValue()
返回仪表盘的值
|
void |
readXML(XMLableReader reader)
read XML
|
void |
setMeterType(int meterType)
设置仪表盘的类型
|
void |
setName(java.lang.String name)
设置仪表盘的名 (系列or分类)标签
|
void |
setValue(java.lang.String value)
设置仪表盘的值
|
protected void |
writeAttr(XMLPrintWriter writer) |
void |
writeXML(XMLPrintWriter writer)
write XML
|
addValueInColumnWithName, buildExecuteSequenceList, buildGenealogyAndCheckSheetExecuteSequence, calcu4ChartData, dependence, getDataModelList, getTableData, initDataModel, isSupportAutoRefresh, modDefinitionFormulaString, setTableData
createTopChartData, getCategoryPresent, getMoreCateSize, getSeriesDefinitionList, getSeriesPresent, getTopCate, getTopSeries, isDiscardNullCate, isDiscardNullSeries, isDiscardOtherCate, isDiscardOtherSeries, setCategoryPresent, setDiscardNullCate, setDiscardNullSeries, setDiscardOtherCate, setDiscardOtherSeries, setSeriesPresent, setTopCate, setTopSeries
public static final java.lang.String XML_TAG
public ChartData createChartData(DataModel resultSet, DataProcessor dataProcessor)
createChartData
在类中 TableDataDefinition
resultSet
- 数据集结果集protected java.util.List changePresentName(java.util.List nameList)
protected java.util.List dealNameList(java.util.List nameList)
protected int getColumnIndex(DataModel resultSet) throws TableDataException
public JSONObject createDataConfig() throws JSONException
createDataConfig
在接口中 TopDefinitionProvider
createDataConfig
在类中 TableDataDefinition
JSONException
- json异常public java.lang.String getDataDefinitionType()
getDataDefinitionType
在接口中 TopDefinitionProvider
getDataDefinitionType
在类中 TopDefinition
public void setMeterType(int meterType)
public int getMeterType()
public void setName(java.lang.String name)
public java.lang.String getName()
public void setValue(java.lang.String value)
public java.lang.String getValue()
public void readXML(XMLableReader reader)
TopDefinition
readXML
在接口中 XMLReadable
readXML
在类中 TableDataDefinition
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
TopDefinition
writeXML
在接口中 XMLWriter
writeXML
在类中 TableDataDefinition
writer
- XML写入对象protected void writeAttr(XMLPrintWriter writer)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 TopDefinition
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public boolean equals(java.lang.Object ob)
equals
在类中 TableDataDefinition