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.
|
SheetRefEvaluator |
getRefEvaluator() |
ValueEval |
getRelativeValue(int r,
int c) |
TwoDEval |
getRow(int rowIndex) |
ValueEval |
getValue(int rowIndex,
int columnIndex) |
int |
getWidth() |
boolean |
isColumn() |
boolean |
isHidden(int rowIndex,
int columnIndex) |
boolean |
isRow() |
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)
AreaEval
public boolean containsColumn(int col)
AreaEval
containsColumn
in interface AreaEval
public boolean containsRow(int row)
AreaEval
containsRow
in interface AreaEval
public ValueEval getAbsoluteValue(int row, int col)
getAbsoluteValue
in interface AreaEval
null
(possibly BlankEval
). The specified indexes should be absolute
indexes in the sheet and not relative indexes within the area.public int getFirstColumn()
AreaEval
getFirstColumn
in interface AreaEval
public int getFirstRow()
AreaEval
getFirstRow
in interface AreaEval
public int getHeight()
public int getLastColumn()
AreaEval
getLastColumn
in interface AreaEval
public int getLastRow()
AreaEval
getLastRow
in interface AreaEval
public ValueEval getRelativeValue(int r, int c)
getRelativeValue
in interface AreaEval
null
(possibly BlankEval
). The
specified indexes should relative to the top left corner of this area.public int getWidth()
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 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 TwoDEval
public boolean isHidden(int rowIndex, int columnIndex)
public SheetRefEvaluator getRefEvaluator()
getRefEvaluator
in interface AreaEval
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.