public final class ObjRecord extends Record
The obj record is used to hold various graphic objects and controls.
| 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 |
clone()
Deprecated.
|
ObjRecord |
copy() |
int |
getRecordSize()
gives the current serialized size of the record.
|
short |
getSid()
return the non static version of the id for this record.
|
java.util.List<SubRecord> |
getSubRecords() |
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging)
|
cloneViaReserialise, serializepublic static final short sid
public ObjRecord()
public ObjRecord(ObjRecord other)
public ObjRecord(RecordInputStream in)
public java.lang.String toString()
Recordpublic int getRecordSize()
RecordBasegetRecordSize in class RecordBasepublic int serialize(int offset,
byte[] data)
RecordBaseserialize in class RecordBaseoffset - to begin writing atdata - byte array containing instance datapublic short getSid()
Recordpublic java.util.List<SubRecord> getSubRecords()
public void clearSubRecords()
public void addSubRecord(int index,
SubRecord element)
public boolean addSubRecord(SubRecord o)
@Deprecated @Removal(version="5.0.0") public ObjRecord clone()
clone in class java.lang.Objectpublic ObjRecord copy()
copy in interface Duplicatablecopy in class RecordCopyright 2020 The Apache Software Foundation or its licensors, as applicable.