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, serialize
public static final short sid
public ObjRecord()
public ObjRecord(ObjRecord other)
public ObjRecord(RecordInputStream in)
public java.lang.String toString()
Record
public int getRecordSize()
RecordBase
getRecordSize
in class RecordBase
public int serialize(int offset, byte[] data)
RecordBase
serialize
in class RecordBase
offset
- to begin writing atdata
- byte array containing instance datapublic short getSid()
Record
public 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.Object
public ObjRecord copy()
copy
in interface Duplicatable
copy
in class Record
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.