public class Boolean extends jxl.write.biff.BooleanRecord implements WritableCell, BooleanCell
构造器和说明 |
---|
Boolean(BooleanCell nc)
Constructor used internally by the application when making a writable
copy of a spreadsheet that has been read in
|
Boolean(int c,
int r,
boolean val)
Constructs a boolean value, which, when added to a spreadsheet, will
display the specified value at the column/row position indicated.
|
Boolean(int c,
int r,
boolean val,
CellFormat st)
Constructs a boolean, which, when added to a spreadsheet, will display the
specified value at the column/row position with the specified CellFormat.
|
限定符和类型 | 方法和说明 |
---|---|
WritableCell |
copyTo(int col,
int row)
Implementation of the deep copy function
|
void |
setValue(boolean val)
Sets the boolean value for this cell
|
addCellFeatures, getCellFeatures, getCellFormat, getColumn, getRow, getSheet, getWritableCellFeatures, isHidden, removeCellFeatures, removeComment, removeDataValidation, setCellFeatures, setCellFormat
getWritableCellFeatures, setCellFeatures, setCellFormat
getValue
getCellFeatures, getCellFormat, getColumn, getContents, getRow, getType, isHidden
public Boolean(int c, int r, boolean val)
c
- the columnr
- the rowval
- the valuepublic Boolean(int c, int r, boolean val, CellFormat st)
c
- the columnr
- the rowval
- the valuest
- the cell formatpublic Boolean(BooleanCell nc)
nc
- the cell to copypublic void setValue(boolean val)
setValue
在类中 jxl.write.biff.BooleanRecord
val
- the valuepublic WritableCell copyTo(int col, int row)
copyTo
在接口中 WritableCell
col
- the column which the new cell will occupyrow
- the row which the new cell will occupy