jxl.write
Class Boolean
java.lang.Object
|
+--jxl.biff.RecordData
|
+--jxl.biff.WritableRecordData
|
+--jxl.write.biff.CellValue
|
+--jxl.write.biff.BooleanRecord
|
+--jxl.write.Boolean
- All Implemented Interfaces:
- BooleanCell, ByteData, Cell, WritableCell
- public class Boolean
- extends BooleanRecord
- implements WritableCell, BooleanCell
A cell, created by user applications, which contains a boolean (or
in some cases an error) value
Constructor Summary |
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. |
Method Summary |
void |
setValue(boolean val)
Sets the boolean value for this cell |
Methods inherited from class jxl.write.biff.CellValue |
decrementColumn, decrementRow, getCellFormat, getColumn, getRow, getXFIndex, incrementColumn, incrementRow, isHidden, isReferenced, setCellDetails, setCellFormat |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
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.
- Parameters:
c
- r
- val
-
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
- Parameters:
c
- r
- val
- st
-
Boolean
public Boolean(BooleanCell nc)
- Constructor used internally by the application when making a writable
copy of a spreadsheet that has been read in
- Parameters:
nc
-
setValue
public void setValue(boolean val)
- Sets the boolean value for this cell
- Overrides:
setValue
in class BooleanRecord
- Parameters:
val
-