|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hssf.record.formula.eval.AreaEvalBase
public abstract class AreaEvalBase
| Constructor Summary | |
|---|---|
protected |
AreaEvalBase(AreaI ptg)
|
| 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(short col)
returns true if the specified col is in range |
boolean |
containsRow(int row)
returns true if the specified row is in range |
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. |
abstract ValueEval |
getRelativeValue(int relativeRowIndex,
int relativeColumnIndex)
|
ValueEval |
getValueAt(int row,
int col)
|
int |
getWidth()
|
boolean |
isColumn()
returns true if the Area's start and end col indexes are same. |
boolean |
isRow()
returns true if the Area's start and end row indexes are same. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.poi.hssf.record.formula.eval.AreaEval |
|---|
offset |
| Constructor Detail |
|---|
protected AreaEvalBase(AreaI ptg)
| Method Detail |
|---|
public final int getFirstColumn()
AreaEval
getFirstColumn in interface AreaEvalpublic final int getFirstRow()
AreaEval
getFirstRow in interface AreaEvalpublic final int getLastColumn()
AreaEval
getLastColumn in interface AreaEvalpublic final int getLastRow()
AreaEval
getLastRow in interface AreaEval
public final ValueEval getValueAt(int row,
int col)
getValueAt in interface AreaEvalnull (possibly BlankEval). The specified indexes should be absolute
indexes in the sheet and not relative indexes within the area.
public final boolean contains(int row,
int col)
AreaEval
contains in interface AreaEvalpublic final boolean containsRow(int row)
AreaEval
containsRow in interface AreaEvalpublic final boolean containsColumn(short col)
AreaEval
containsColumn in interface AreaEvalpublic final boolean isColumn()
AreaEval
isColumn in interface AreaEvalpublic final boolean isRow()
AreaEval
isRow in interface AreaEvalpublic int getHeight()
getHeight in interface AreaEval
public abstract ValueEval getRelativeValue(int relativeRowIndex,
int relativeColumnIndex)
getRelativeValue in interface AreaEvalnull (possibly BlankEval). The
specified indexes should relative to the top left corner of this area.public int getWidth()
getWidth in interface AreaEval
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||