|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.biff.EmptyCell
An empty cell. Represents an empty, as opposed to a blank cell in the workbook
Field Summary | |
private int |
col
The column number of this empty cell |
private int |
row
The row of this empty cell |
Constructor Summary | |
EmptyCell(int c,
int r)
Constructs an empty cell at the specified position |
Method Summary | |
CellFormat |
getCellFormat()
Accessor for the format which is applied to this cell |
int |
getColumn()
Returns the column number of this cell |
java.lang.String |
getContents()
Quick and dirty function to return the contents of this cell as a string. |
int |
getRow()
Returns the row number of this cell |
CellType |
getType()
Returns the content type of this cell |
boolean |
isHidden()
Indicates whether or not this cell is hidden, by virtue of either the entire row or column being collapsed |
void |
setAlignment(Alignment align)
|
void |
setBorder(Border border,
BorderLineStyle line)
|
void |
setCellFormat(CellFormat cf)
Sets the cell format for this cell |
void |
setCellFormat(CellFormat cf)
Deprecated. |
void |
setHidden(boolean flag)
|
void |
setLocked(boolean flag)
|
void |
setVerticalAlignment(VerticalAlignment valign)
|
Methods inherited from class java.lang.Object |
|
Field Detail |
private int row
private int col
Constructor Detail |
public EmptyCell(int c, int r)
c
- the zero based columnr
- the zero based rowMethod Detail |
public int getRow()
getRow
in interface Cell
public int getColumn()
getColumn
in interface Cell
public CellType getType()
getType
in interface Cell
public java.lang.String getContents()
getContents
in interface Cell
public CellFormat getCellFormat()
getCellFormat
in interface Cell
public void setHidden(boolean flag)
flag
- public void setLocked(boolean flag)
flag
- public void setAlignment(Alignment align)
align
- public void setVerticalAlignment(VerticalAlignment valign)
valign
- public void setBorder(Border border, BorderLineStyle line)
line
- border
- public void setCellFormat(CellFormat cf)
WritableCell
setCellFormat
in interface WritableCell
cf
- public void setCellFormat(CellFormat cf)
cf
- public boolean isHidden()
isHidden
in interface Cell
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |