public interface TwoDEval extends ValueEval
AreaEval
and
AreaEvalBase
, for 2D (row+column) evaluations
(AreaEval 和 AreaEvalBase 的通用接口,用于 2D(行+列)评估)
Modifier and Type | Method and Description |
---|---|
TwoDEval |
getColumn(int columnIndex) |
int |
getHeight() |
TwoDEval |
getRow(int rowIndex) |
ValueEval |
getValue(int rowIndex, int columnIndex) |
int |
getWidth() |
boolean |
isColumn() |
boolean |
isRow() |
boolean |
isRowHidden(int rowIndex) |
boolean |
isSubTotal(int rowIndex, int columnIndex) |
ValueEval getValue(int rowIndex, int columnIndex)
rowIndex
- relative row index (zero based)
(rowIndex - 相对行索引(从零开始))
columnIndex
- relative column index (zero based)
(columnIndex - 相对列索引(从零开始))
int getWidth()
int getHeight()
boolean isRow()
true
if the area has just a single row, this also includes the trivial case when the area has just a single cell.
(如果该区域只有一行,则为 true,这也包括该区域只有一个单元格的简单情况。)
boolean isColumn()
true
if the area has just a single column, this also includes the trivial case when the area has just a single cell.
(如果该区域只有一个列,则为 true,这也包括该区域只有一个单元格的简单情况。)
TwoDEval getRow(int rowIndex)
rowIndex
- relative row index (zero based)
(rowIndex - 相对行索引(从零开始))
TwoDEval
(单行 TwoDeval)
TwoDEval getColumn(int columnIndex)
columnIndex
- relative column index (zero based)
(columnIndex - 相对列索引(从零开始))
TwoDEval
(单列 TwoDeval)
boolean isSubTotal(int rowIndex, int columnIndex)
boolean isRowHidden(int rowIndex)
rowIndex
-
(行索引 -)
Subtotal
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.