|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AreaEval
Method Summary | |
---|---|
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)
|
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 |
getRelativeValue(int relativeRowIndex,
int relativeColumnIndex)
|
int |
getWidth()
|
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 |
Methods inherited from interface org.apache.poi.ss.formula.TwoDEval |
---|
getColumn, getRow, getValue, isColumn, isRow |
Method Detail |
---|
int getFirstRow()
int getLastRow()
int getFirstColumn()
int getLastColumn()
ValueEval getAbsoluteValue(int row, int col)
null
(possibly BlankEval
). The specified indexes should be absolute
indexes in the sheet and not relative indexes within the area.boolean contains(int row, int col)
row
- col
- boolean containsColumn(int col)
col
- boolean containsRow(int row)
row
- int getWidth()
getWidth
in interface TwoDEval
int getHeight()
getHeight
in interface TwoDEval
ValueEval getRelativeValue(int relativeRowIndex, int relativeColumnIndex)
null
(possibly BlankEval
). The
specified indexes should relative to the top left corner of this area.AreaEval offset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx)
AreaEval
offset by a relative amount from from the upper left cell
of this area
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |