public final class CacheAreaEval extends AreaEvalBase
Constructor and Description |
---|
CacheAreaEval(AreaI ptg, ValueEval[] values) |
CacheAreaEval(int firstRow, int firstColumn, int lastRow, int lastColumn, ValueEval[] values) |
Modifier and Type | Method and Description |
---|---|
TwoDEval |
getColumn(int columnIndex) |
ValueEval |
getRelativeValue(int relativeRowIndex, int relativeColumnIndex) |
ValueEval |
getRelativeValue(int sheetIndex, int relativeRowIndex, int relativeColumnIndex) |
TwoDEval |
getRow(int rowIndex) |
AreaEval |
offset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx)
Creates an
AreaEval offset by a relative amount from from the upper left cell of this area
(从该区域的左上角单元格创建一个相对量的 AreaEval 偏移量)
|
java.lang.String |
toString() |
contains, containsColumn, containsRow, getAbsoluteValue, getFirstColumn, getFirstRow, getFirstSheetIndex, getHeight, getLastColumn, getLastRow, getLastSheetIndex, getValue, getValue, getWidth, isColumn, isRow, isRowHidden, isSubTotal
public CacheAreaEval(int firstRow, int firstColumn, int lastRow, int lastColumn, ValueEval[] values)
public ValueEval getRelativeValue(int relativeRowIndex, int relativeColumnIndex)
getRelativeValue
in interface
AreaEval
(接口 AreaEval 中的 getRelativeValue)
getRelativeValue
in class
AreaEvalBase
(类 AreaEvalBase 中的 getRelativeValue)
null
(possibly
BlankEval
). The specified indexes should relative to the top left corner of this area.
(此区域内指定的 relativeRowIndex 和 relativeColumnIndex 处的 ValueEval。从不为空(可能是 BlankEval)。指定的索引应该相对于该区域的左上角。)
public ValueEval getRelativeValue(int sheetIndex, int relativeRowIndex, int relativeColumnIndex)
getRelativeValue
in class
AreaEvalBase
(类 AreaEvalBase 中的 getRelativeValue)
public AreaEval offset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx)
AreaEval
AreaEval
offset by a relative amount from from the upper left cell of this area
(从该区域的左上角单元格创建一个相对量的 AreaEval 偏移量)
public TwoDEval getRow(int rowIndex)
rowIndex
- relative row index (zero based)
(rowIndex - 相对行索引(从零开始))
TwoDEval
(单行 TwoDeval)
public TwoDEval getColumn(int columnIndex)
columnIndex
- relative column index (zero based)
(columnIndex - 相对列索引(从零开始))
TwoDEval
(单列 TwoDeval)
public java.lang.String toString()
toString
in class
java.lang.Object
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.