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 |
java.lang.String |
toString() |
contains, containsColumn, containsRow, getAbsoluteValue, getFirstColumn, getFirstRow, getFirstSheetIndex, getHeight, getLastColumn, getLastRow, getLastSheetIndex, getValue, getValue, getWidth, isColumn, isRow, isSubTotalpublic CacheAreaEval(int firstRow,
int firstColumn,
int lastRow,
int lastColumn,
ValueEval[] values)
public ValueEval getRelativeValue(int relativeRowIndex, int relativeColumnIndex)
getRelativeValue in interface AreaEvalgetRelativeValue in class AreaEvalBasenull (possibly BlankEval). The
specified indexes should relative to the top left corner of this area.public ValueEval getRelativeValue(int sheetIndex, int relativeRowIndex, int relativeColumnIndex)
getRelativeValue in class AreaEvalBasepublic AreaEval offset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx)
AreaEvalAreaEval offset by a relative amount from from the upper left cell
of this areapublic TwoDEval getRow(int rowIndex)
rowIndex - relative row index (zero based)TwoDEvalpublic TwoDEval getColumn(int columnIndex)
columnIndex - relative column index (zero based)TwoDEvalpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright 2018 The Apache Software Foundation or its licensors, as applicable.