public class DrawingRecord extends Record
| Modifier and Type | Field and Description | 
|---|---|
| private byte[] | recordData | 
| static short | sid | 
| Constructor and Description | 
|---|
| DrawingRecord() | 
| DrawingRecord(RecordInputStream in) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | fillFields(RecordInputStream in)called by the constructor, should set class level fields. | 
| byte[] | getData() | 
| int | getRecordSize()gives the current serialized size of the record. | 
| short | getSid()return the non static version of the id for this record. | 
| void | processContinueRecord(byte[] record) | 
| int | serialize(int offset,
         byte[] data)called by the class that is responsible for writing this sucker. | 
| void | setData(byte[] thedata) | 
| protected void | validateSid(short id)Checks the sid matches the expected side for this record | 
public static final short sid
private byte[] recordData
public DrawingRecord()
public DrawingRecord(RecordInputStream in)
protected void validateSid(short id)
validateSid in class Recordid - the expected sid.protected void fillFields(RecordInputStream in)
RecordfillFields in class Recordin - the RecordInputstream to read the record frompublic void processContinueRecord(byte[] record)
public int serialize(int offset,
            byte[] data)
Recordpublic int getRecordSize()
RecordgetRecordSize in class Recordpublic short getSid()
Recordpublic byte[] getData()
public void setData(byte[] thedata)
Copyright © 2015 Open Microscopy Environment