| Constructor and Description |
|---|
ArrayEval(ArrayPtg ptg,
SheetRefEvaluator evaluator) |
ArrayEval(ValueEval[][] srcvalues,
int firstRow,
int firstColumn,
int lastRow,
int lastColumn,
SheetRefEvaluator evaluator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(int row,
int col)
returns true if the cell at row and col specified
as absolute indexes in the sheet is contained in
this area.
|
boolean |
containsColumn(int col)
returns true if the specified col is in range
|
boolean |
containsRow(int row)
returns true if the specified row is in range
|
ValueEval |
getAbsoluteValue(int row,
int col) |
TwoDEval |
getColumn(int columnIndex) |
int |
getDepth() |
int |
getFirstColumn()
returns the 0-based index of the first col in
this area.
|
int |
getFirstRow()
returns the 0-based index of the first row in
this area.
|
int |
getHeight() |
int |
getLastColumn()
returns the 0-based index of the last col in
this area.
|
int |
getLastRow()
returns the 0-based index of the last row in
this area.
|
ValueEval |
getNonEmptyCellValues() |
SheetRefEvaluator |
getRefEvaluator() |
ValueEval |
getRelativeValue(int r,
int c) |
TwoDEval |
getRow(int rowIndex) |
ValueEval |
getValue(int rowIndex,
int columnIndex) |
int |
getWidth() |
boolean |
isColumn() |
boolean |
isFiltered() |
boolean |
isHidden(int rowIndex,
int columnIndex) |
boolean |
isRow() |
boolean |
isRowHidden(int rowIndex) |
boolean |
isSubTotal(int rowIndex,
int columnIndex) |
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 |
public ArrayEval(ValueEval[][] srcvalues, int firstRow, int firstColumn, int lastRow, int lastColumn, SheetRefEvaluator evaluator)
public ArrayEval(ArrayPtg ptg, SheetRefEvaluator evaluator)
public boolean contains(int row,
int col)
AreaEvalpublic boolean containsColumn(int col)
AreaEvalcontainsColumn in interface AreaEvalpublic boolean containsRow(int row)
AreaEvalcontainsRow in interface AreaEvalpublic ValueEval getAbsoluteValue(int row, int col)
getAbsoluteValue in interface AreaEvalnull (possibly BlankEval). The specified indexes should be absolute
indexes in the sheet and not relative indexes within the area.public int getFirstColumn()
AreaEvalgetFirstColumn in interface AreaEvalpublic int getFirstRow()
AreaEvalgetFirstRow in interface AreaEvalpublic int getHeight()
public int getLastColumn()
AreaEvalgetLastColumn in interface AreaEvalpublic int getLastRow()
AreaEvalgetLastRow in interface AreaEvalpublic ValueEval getRelativeValue(int r, int c)
getRelativeValue in interface AreaEvalnull (possibly BlankEval). The
specified indexes should relative to the top left corner of this area.public ValueEval getNonEmptyCellValues()
getNonEmptyCellValues in interface TwoDEvalpublic int getWidth()
public 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 getColumn(int columnIndex)
public TwoDEval getRow(int rowIndex)
public ValueEval getValue(int rowIndex, int columnIndex)
public boolean isColumn()
public boolean isRow()
public boolean isSubTotal(int rowIndex,
int columnIndex)
isSubTotal in interface TwoDEvalpublic boolean isHidden(int rowIndex,
int columnIndex)
public boolean isRowHidden(int rowIndex)
isRowHidden in interface TwoDEvalSubtotalpublic boolean isFiltered()
isFiltered in interface TwoDEvalSubtotalpublic SheetRefEvaluator getRefEvaluator()
getRefEvaluator in interface AreaEvalCopyright © 2020. All rights reserved.