public abstract class ReportDataDefinition extends TopDefinition implements BaseReportDefinition
限定符和类型 | 类和说明 |
---|---|
protected static class |
ReportDataDefinition.IntegerWrapper |
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
NONEXISTENT_POINT
构造器和说明 |
---|
ReportDataDefinition() |
限定符和类型 | 方法和说明 |
---|---|
void |
buildExecuteSequenceList(java.util.List list,
Calculator calculator)
预先计算聚合图表 表间公式顺序.
|
void |
buildGenealogyAndCheckSheetExecuteSequence(Calculator calculator,
java.util.List silList,
java.util.List bilList)
处理sheet&报表块 之间的计算顺序
|
protected FArray |
calculateChartDataDefinition(java.lang.Object obj,
Calculator calculator)
计算处理公式 返回FArray
|
ChartData |
calculateChartDataWithFormCalculator(Calculator cal)
计算报表块的数据
|
java.lang.Object |
clone() |
abstract ChartData |
createChartData(Calculator cal)
计算图标数据
|
JSONObject |
createDataConfig()
将数据的配置也作为配置项传到前端
|
protected void |
dealDefinition4Map(MapSingleLayerReportDefinition indexDefinition,
MapChartData mapData,
Calculator calculator)
处理煤层地图的信息
|
protected void |
dealDouble(java.util.ArrayList itemList,
java.util.HashMap<java.lang.String,ReportDataDefinition.IntegerWrapper> map) |
protected java.util.HashMap<java.lang.String,ReportDataDefinition.IntegerWrapper> |
dealFArrayInList(java.util.ArrayList nameResultList,
FArray res,
Calculator currentCalculator) |
protected void |
dealValue2DList(FArray res,
java.util.ArrayList value2DList,
Calculator cal) |
java.lang.String[] |
dependence(CalculatorProvider ca)
获取当前对象对参数的依赖关系
|
boolean |
equals(java.lang.Object ob) |
ChartData |
executeData(SuperExecutor executor,
BoxCEProvider box,
Calculator currentCalculator,
CalculatorKey PE_CC_LIST,
DataProcessor dataProcessor) |
java.lang.Object |
getCategoryName()
返回分类名对象 (公式or字符串)
|
protected java.lang.Object |
getObjectFromList(int index,
java.util.List list) |
protected java.lang.Object |
getObjectFromRowIndex(int rowIndex,
java.util.List list,
java.util.Map<java.lang.String,ReportDataDefinition.IntegerWrapper> map) |
boolean |
isSupportAutoRefresh()
返回是否支持自动刷新
|
void |
modDefinitionFormulaString(MOD_COLUMN_ROW mod)
处理数据源中的公式.
|
void |
readXML(XMLableReader reader)
read XML
|
void |
setCategoryName(java.lang.Object categoryNameString)
设置 分类名的对象 (公式or字符串)
|
void |
writeXML(XMLPrintWriter writer)
write XML
|
createTopChartData, getCategoryPresent, getDataDefinitionType, getMoreCateSize, getSeriesDefinitionList, getSeriesPresent, getTopCate, getTopSeries, isDiscardNullCate, isDiscardNullSeries, isDiscardOtherCate, isDiscardOtherSeries, setCategoryPresent, setDiscardNullCate, setDiscardNullSeries, setDiscardOtherCate, setDiscardOtherSeries, setSeriesPresent, setTopCate, setTopSeries
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeData
public static final java.lang.String XML_TAG
public void setCategoryName(java.lang.Object categoryNameString)
public java.lang.Object getCategoryName()
public java.lang.String[] dependence(CalculatorProvider ca)
dependence
在接口中 DependenceProvider
ca
- 当前线程的算子public void modDefinitionFormulaString(MOD_COLUMN_ROW mod)
modDefinitionFormulaString
在接口中 FilterDefinition
mod
- 行列变动.public void buildExecuteSequenceList(java.util.List list, Calculator calculator)
buildExecuteSequenceList
在接口中 TopDefinitionProvider
list
- 表间列表calculator
- 计算器public void buildGenealogyAndCheckSheetExecuteSequence(Calculator calculator, java.util.List silList, java.util.List bilList)
TopDefinitionProvider
public abstract ChartData createChartData(Calculator cal)
cal
- 算子public ChartData executeData(SuperExecutor executor, BoxCEProvider box, Calculator currentCalculator, CalculatorKey PE_CC_LIST, DataProcessor dataProcessor)
executeData
在接口中 BaseReportDefinition
protected FArray calculateChartDataDefinition(java.lang.Object obj, Calculator calculator)
obj
- calculator
- 计算器protected java.util.HashMap<java.lang.String,ReportDataDefinition.IntegerWrapper> dealFArrayInList(java.util.ArrayList nameResultList, FArray res, Calculator currentCalculator)
protected void dealValue2DList(FArray res, java.util.ArrayList value2DList, Calculator cal)
public ChartData calculateChartDataWithFormCalculator(Calculator cal)
cal
- 算子public void readXML(XMLableReader reader)
TopDefinition
readXML
在接口中 XMLReadable
readXML
在类中 TopDefinition
reader
- XML读取对象XMLableReader
public JSONObject createDataConfig() throws JSONException
createDataConfig
在接口中 TopDefinitionProvider
createDataConfig
在类中 TopDefinition
JSONException
- json异常public void writeXML(XMLPrintWriter writer)
TopDefinition
writeXML
在接口中 XMLWriter
writeXML
在类中 TopDefinition
writer
- XML写入对象public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 TopDefinition
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public boolean equals(java.lang.Object ob)
equals
在类中 TopDefinition
protected void dealDouble(java.util.ArrayList itemList, java.util.HashMap<java.lang.String,ReportDataDefinition.IntegerWrapper> map)
public boolean isSupportAutoRefresh()
isSupportAutoRefresh
在类中 TopDefinition
protected void dealDefinition4Map(MapSingleLayerReportDefinition indexDefinition, MapChartData mapData, Calculator calculator)
indexDefinition
- 序号mapData
- 数据calculator
- 算子protected java.lang.Object getObjectFromRowIndex(int rowIndex, java.util.List list, java.util.Map<java.lang.String,ReportDataDefinition.IntegerWrapper> map)
protected java.lang.Object getObjectFromList(int index, java.util.List list)