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, 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
getRelativeValue
in class AreaEvalBase
null
(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 AreaEvalBase
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 areapublic TwoDEval getRow(int rowIndex)
rowIndex
- relative row index (zero based)TwoDEval
public TwoDEval getColumn(int columnIndex)
columnIndex
- relative column index (zero based)TwoDEval
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.