|
||||||||||
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.Area2DEval
public class Area2DEval
Constructor Summary | |
---|---|
Area2DEval(Ptg ptg,
ValueEval[] values)
|
Method Summary | |
---|---|
boolean |
contains(int row,
short 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 |
short |
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. |
short |
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 |
getValueAt(int row,
short col)
returns the ValueEval from the values array at the specified row and col index. |
ValueEval[] |
getValues()
The array of values in this area. |
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 |
Constructor Detail |
---|
public Area2DEval(Ptg ptg, ValueEval[] values)
Method Detail |
---|
public short getFirstColumn()
AreaEval
getFirstColumn
in interface AreaEval
public int getFirstRow()
AreaEval
getFirstRow
in interface AreaEval
public short getLastColumn()
AreaEval
getLastColumn
in interface AreaEval
public int getLastRow()
AreaEval
getLastRow
in interface AreaEval
public ValueEval[] getValues()
AreaEval
getValues
in interface AreaEval
public ValueEval getValueAt(int row, short col)
AreaEval
getValueAt
in interface AreaEval
public boolean contains(int row, short col)
AreaEval
contains
in interface AreaEval
public boolean containsRow(int row)
AreaEval
containsRow
in interface AreaEval
public boolean containsColumn(short col)
AreaEval
containsColumn
in interface AreaEval
public boolean isColumn()
AreaEval
isColumn
in interface AreaEval
public boolean isRow()
AreaEval
isRow
in interface AreaEval
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |