|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.read.biff.RangeImpl
Implementation class for the Range interface. This merely holds the raw range information, and when the time comes, it interrogates the workbook for the object. This does not keep handles to the objects for performance reasons, as this could impact garbage collection on larger spreadsheets
Field Summary | |
private int |
column1
The column number of the cell at the top left of the range |
private int |
column2
The column index of the cell at the bottom right |
private int |
row1
The row number of the cell at the top left of the range |
private int |
row2
The row index of the cell at the bottom right |
private int |
sheet1
The sheet index containing the column at the top left |
private int |
sheet2
The sheet index of the cell at the bottom right |
private WorkbookParser |
workbook
A handle to the workbook |
Constructor Summary | |
RangeImpl(WorkbookParser w,
int s1,
int c1,
int r1,
int s2,
int c2,
int r2)
Constructor |
Method Summary | |
Cell |
getBottomRight()
Gets the cell at the bottom right of this range |
int |
getFirstSheetIndex()
Gets the index of the first sheet in the range |
int |
getLastSheetIndex()
Gets the index of the last sheet in the range |
Cell |
getTopLeft()
Gets the cell at the top left of this range |
Methods inherited from class java.lang.Object |
|
Field Detail |
private WorkbookParser workbook
private int sheet1
private int column1
private int row1
private int sheet2
private int column2
private int row2
Constructor Detail |
public RangeImpl(WorkbookParser w, int s1, int c1, int r1, int s2, int c2, int r2)
Method Detail |
public Cell getTopLeft()
getTopLeft
in interface Range
public Cell getBottomRight()
getBottomRight
in interface Range
public int getFirstSheetIndex()
getFirstSheetIndex
in interface Range
public int getLastSheetIndex()
getLastSheetIndex
in interface Range
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |