public final class BoolErrRecord extends CellRecord
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
BoolErrRecord()
Creates new BoolErrRecord
|
BoolErrRecord(BoolErrRecord other) |
BoolErrRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
BoolErrRecord |
copy() |
boolean |
getBooleanValue()
get the value for the cell
(获取单元格的值)
|
byte |
getErrorValue()
get the error value for the cell
(获取单元格的错误值)
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
protected java.lang.String |
getRecordName()
Gets the debug info BIFF record type name (used by
Record.toString() .
(获取调试信息 BIFF 记录类型名称(由 Record.toString() 使用。)
|
short |
getSid()
return the non static version of the id for this record.
(返回此记录的 id 的非静态版本。)
|
protected int |
getValueDataSize() |
boolean |
isBoolean()
Indicates whether the call holds a boolean value
(指示调用是否持有布尔值)
|
boolean |
isError()
Indicates whether the call holds an error value
(指示调用是否持有错误值)
|
protected void |
serializeValue(LittleEndianOutput out)
writes out the value data for this cell record
(写出此单元格记录的值数据)
|
void |
setValue(boolean value)
set the boolean value for the cell
(设置单元格的布尔值)
|
void |
setValue(byte value)
set the error value for the cell.
(设置单元格的错误值。)
|
void |
setValue(FormulaError value)
set the error value for the cell
(设置单元格的错误值)
|
getColumn, getDataSize, getRow, getXFIndex, serialize, setColumn, setRow, setXFIndex
getRecordSize, serialize
cloneViaReserialise, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
public static final short sid
public BoolErrRecord()
public BoolErrRecord(BoolErrRecord other)
public BoolErrRecord(RecordInputStream in)
in
- the RecordInputstream to read the record from
(in - 要从中读取记录的 RecordInputstream)
public void setValue(boolean value)
value
- representing the boolean value
(value - 表示布尔值)
public void setValue(byte value)
FormulaError
for valid codes.
(设置单元格的错误值。有关有效代码,请参阅 FormulaError。)
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 explanation
(value - error 表示错误值 这个值只能是 0,7,15,23,29,36 或 42 参见 bugzilla bug 16560 的解释)
public void setValue(FormulaError 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 explanation
(value - error 表示错误值 这个值只能是 0,7,15,23,29,36 或 42 参见 bugzilla bug 16560 的解释)
public boolean getBooleanValue()
public byte getErrorValue()
public boolean isBoolean()
public boolean isError()
protected java.lang.String getRecordName()
CellRecord
Record.toString()
.
(获取调试信息 BIFF 记录类型名称(由 Record.toString() 使用。)
getRecordName
in class
CellRecord
(类 CellRecord 中的 getRecordName)
protected void serializeValue(LittleEndianOutput out)
CellRecord
serializeValue
in class
CellRecord
(CellRecord 类中的 serializeValue)
out
- the output
(out - 输出)
protected int getValueDataSize()
getValueDataSize
in class
CellRecord
(类 CellRecord 中的 getValueDataSize)
public short getSid()
Record
public BoolErrRecord copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
CellRecord
(在 CellRecord 类中复制)
public HSSFRecordTypes getGenericRecordType()
getGenericRecordType
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericRecordType)
getGenericRecordType
in class
Record
(类 Record 中的 getGenericRecordType)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
getGenericProperties
in class
CellRecord
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.