public final class ObjRecord extends Record
The obj record is used to hold various graphic objects and controls.
(OBJRECORD (0x005D) obj 记录用于保存各种图形对象和控件。)Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
ObjRecord() |
ObjRecord(ObjRecord other) |
ObjRecord(RecordInputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
addSubRecord(int index, SubRecord element) |
boolean |
addSubRecord(SubRecord o) |
void |
clearSubRecords() |
ObjRecord |
copy() |
java.util.List<SubRecord> |
getGenericChildren() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
HSSFRecordTypes |
getGenericRecordType() |
int |
getRecordSize()
gives the current serialized size of the record.
(给出记录的当前序列化大小.)
|
short |
getSid()
return the non static version of the id for this record.
(返回此记录的 id 的非静态版本。)
|
java.util.List<SubRecord> |
getSubRecords() |
int |
serialize(int offset, byte[] data)
called by the class that is responsible for writing this sucker.
(由负责编写此傻瓜的类调用。)
|
cloneViaReserialise, serialize, toString
public static final short sid
public ObjRecord()
public ObjRecord(ObjRecord other)
public ObjRecord(RecordInputStream in)
public int getRecordSize()
RecordBase
getRecordSize
in class
RecordBase
(类 RecordBase 中的 getRecordSize)
public int serialize(int offset, byte[] data)
RecordBase
serialize
in class
RecordBase
(在类 RecordBase 中序列化)
offset
- to begin writing at
(偏移量 - 开始写入)
data
- byte array containing instance data
(data - 包含实例数据的字节数组)
public short getSid()
Record
public java.util.List<SubRecord> getSubRecords()
public void clearSubRecords()
public void addSubRecord(int index, SubRecord element)
public boolean addSubRecord(SubRecord o)
public ObjRecord copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
Record
(复制课堂记录)
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()
public java.util.List<SubRecord> getGenericChildren()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.