| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CellRange<C extends Cell>
Represents a rectangular region of a Sheet
Method Summary | |
---|---|
C | getCell(int relativeRowIndex, int relativeColumnIndex) |
C[][] | getCells() |
C[] | getFlattenedCells() |
int | getHeight() |
java.lang.String | getReferenceText() |
C | getTopLeftCell() |
int | getWidth() |
java.util.Iterator<C> | iterator() |
int | size() Gets the number of cells in this range. |
Method Detail |
---|
int getWidth()
int getHeight()
int size()
java.lang.String getReferenceText()
C getTopLeftCell()
null
.C getCell(int relativeRowIndex, int relativeColumnIndex)
relativeRowIndex
- must be between 0 and height-1relativeColumnIndex
- must be between 0 and width-1null
.C[] getFlattenedCells()
CellRange
C[][] getCells()
CellRange
. The first array dimension is the row index (values 0...height-1) and the second dimension is the column index (values 0...width-1)java.util.Iterator<C> iterator()
Iterator
over all cells in this range. Iteration starts with all cells in the first row followed by all cells in the next row, etc.
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |