jxl.write
Class Boolean
java.lang.Object
jxl.biff.RecordData
jxl.biff.WritableRecordData
jxl.write.biff.CellValue
jxl.write.biff.BooleanRecord
- BooleanCell, jxl.biff.ByteData, Cell, WritableCell
public class Boolean
extends jxl.write.biff.BooleanRecord
A cell, created by user applications, which contains a boolean (or
in some cases an error) value
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.
|
Boolean(BooleanCell nc) - Constructor used internally by the application when making a writable
copy of a spreadsheet that has been read in
|
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 , getData , getRow , getWritableCellFeatures , isHidden , removeComment , setCellFeatures , setCellFormat |
Boolean
public 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.
c
- the columnr
- the rowval
- the value
Boolean
public 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.
The CellFormat may specify font information
c
- the columnr
- the rowval
- the valuest
- the cell format
Boolean
public Boolean(BooleanCell nc)
Constructor used internally by the application when making a writable
copy of a spreadsheet that has been read in
copyTo
public WritableCell copyTo(int col,
int row)
Implementation of the deep copy function
- copyTo in interface WritableCell
col
- the column which the new cell will occupyrow
- the row which the new cell will occupy
- a copy of this cell, which can then be added to the sheet
setValue
public void setValue(boolean val)
Sets the boolean value for this cell