|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a sheet within a workbook. Provides a handle to the individual cells, or lines of cells (grouped by Row or Column)
Method Summary | |
Cell |
findCell(java.lang.String contents)
Gets the cell whose contents match the string passed in. |
LabelCell |
findLabelCell(java.lang.String contents)
Gets the cell whose contents match the string passed in. |
Cell |
getCell(int column,
int row)
Returns the cell specified at this row and at this column. |
Cell[] |
getColumn(int col)
Gets all the cells on the specified column |
int |
getColumns()
Returns the number of columns in this sheet |
Hyperlink[] |
getHyperlinks()
Gets the hyperlinks on this sheet |
Range[] |
getMergedCells()
Gets the cells which have been merged on this sheet |
java.lang.String |
getName()
Gets the name of this sheet |
Cell[] |
getRow(int row)
Gets all the cells on the specified row |
int |
getRows()
Returns the number of rows in this sheet |
SheetSettings |
getSettings()
Gets the settings used on a particular sheet |
boolean |
isHidden()
Deprecated. in favouf of the getSettings() method |
boolean |
isProtected()
Deprecated. in favour of the getSettings() method |
Method Detail |
public Cell getCell(int column, int row)
column
- the column numberrow
- the row numberpublic int getRows()
public int getColumns()
public Cell[] getRow(int row)
row
- the rows whose cells are to be returnedpublic Cell[] getColumn(int col)
col
- the column whose cells are to be returnedpublic java.lang.String getName()
public boolean isHidden()
public boolean isProtected()
public Cell findCell(java.lang.String contents)
contents
- the string to matchpublic LabelCell findLabelCell(java.lang.String contents)
contents
- the string to matchpublic Hyperlink[] getHyperlinks()
public Range[] getMergedCells()
public SheetSettings getSettings()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |