|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.record.RecordBase
org.apache.poi.hssf.record.Record
org.apache.poi.hssf.record.StandardRecord
org.apache.poi.hssf.record.CellRecord
org.apache.poi.hssf.record.BoolErrRecord
public final class BoolErrRecord
Creates new BoolErrRecord. (0x0205)
REFERENCE: PG ??? Microsoft Excel 97 Developer's Kit (ISBN: 1-57231-498-2)
Field Summary | |
---|---|
static short |
sid
|
Constructor Summary | |
---|---|
BoolErrRecord()
Creates new BoolErrRecord |
|
BoolErrRecord(RecordInputStream in)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
getBooleanValue()
get the value for the cell |
byte |
getErrorValue()
get the error value for the cell |
short |
getSid()
return the non static version of the id for this record. |
boolean |
isBoolean()
Indicates whether the call holds a boolean value |
boolean |
isError()
Indicates whether the call holds an error value |
void |
setValue(boolean value)
set the boolean value for the cell |
void |
setValue(byte value)
set the error value for the cell |
Methods inherited from class org.apache.poi.hssf.record.CellRecord |
---|
getColumn, getRow, getXFIndex, serialize, setColumn, setRow, setXFIndex, toString |
Methods inherited from class org.apache.poi.hssf.record.StandardRecord |
---|
getRecordSize, serialize |
Methods inherited from class org.apache.poi.hssf.record.Record |
---|
cloneViaReserialise, serialize |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short sid
Constructor Detail |
---|
public BoolErrRecord()
public BoolErrRecord(RecordInputStream in)
in
- the RecordInputstream to read the record fromMethod Detail |
---|
public void setValue(boolean value)
value
- representing the boolean valuepublic void setValue(byte value)
value
- error representing the error value
this value can only be 0,7,15,23,29,36 or 42
see bugzilla bug 16560 for an explanationpublic boolean getBooleanValue()
public byte getErrorValue()
public boolean isBoolean()
public boolean isError()
public short getSid()
Record
getSid
in class Record
public java.lang.Object clone()
clone
in class Record
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |