public class ExternSheetSubRecord extends Record
Description: Defines a named range within a workbook.
REFERENCE:
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
ExternSheetSubRecord()
a Constractor for making new sub record
|
ExternSheetSubRecord(RecordInputStream in)
Constructs a Extern Sheet Sub Record record and sets its fields appropriately.
|
Modifier and Type | Method and Description |
---|---|
protected void |
fillFields(RecordInputStream in)
called by the constructor, should set class level fields.
|
short |
getIndexToFirstSupBook()
gets the index to first sheet from supbook
|
short |
getIndexToLastSupBook()
gets the index to last sheet in supbook
|
short |
getIndexToSupBook()
gets the index to sup book
|
int |
getRecordSize()
returns the record size
|
short |
getSid()
return the non static version of the id for this record.
|
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
void |
setIndexToFirstSupBook(short index)
sets the index to first sheet in supbook
|
void |
setIndexToLastSupBook(short index)
sets the index to last sheet in supbook
|
void |
setIndexToSupBook(short index)
Sets the Index to the sup book
|
String |
toString()
get a string representation of the record (for biffview/debugging)
|
protected void |
validateSid(short id)
called by constructor, should throw runtime exception in the event of a
record passed with a differing ID.
|
clone, isInValueSection, isValue, serialize
public static final short sid
public ExternSheetSubRecord()
public ExternSheetSubRecord(RecordInputStream in)
in
- the RecordInputstream to read the record frompublic void setIndexToSupBook(short index)
index
- sup book indexpublic short getIndexToSupBook()
public void setIndexToFirstSupBook(short index)
index
- index to first sheetpublic short getIndexToFirstSupBook()
public void setIndexToLastSupBook(short index)
index
- index to last sheetpublic short getIndexToLastSupBook()
protected void validateSid(short id)
validateSid
in class Record
id
- alleged id for this recordprotected void fillFields(RecordInputStream in)
Record
fillFields
in class Record
in
- the RecordInputstream to read the record frompublic String toString()
Record
public int serialize(int offset, byte[] data)
public int getRecordSize()
getRecordSize
in class Record
Copyright © 2014 Open Microscopy Environment