public class RowRecordsAggregate extends Record
Modifier and Type | Field and Description |
---|---|
(package private) int |
firstrow |
(package private) int |
lastrow |
(package private) Map |
records |
(package private) int |
size |
Constructor and Description |
---|
RowRecordsAggregate()
Creates a new instance of ValueRecordsAggregate
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Performs a deep clone of the record
|
void |
collapseRow(int rowNumber) |
static RowRecord |
createRow(int row)
Create a row record.
|
void |
expandRow(int rowNumber) |
protected void |
fillFields(RecordInputStream in)
You never fill an aggregate
|
int |
findEndOfRowOutlineGroup(int row) |
int |
findStartOfRowOutlineGroup(int row) |
int |
getEndRowNumberForBlock(int block)
Returns the physical row number of the end row in a block
|
int |
getFirstRowNum() |
Iterator |
getIterator() |
int |
getLastRowNum() |
int |
getPhysicalNumberOfRows() |
int |
getRecordSize()
gives the current serialized size of the record.
|
RowRecord |
getRow(int rownum) |
int |
getRowBlockCount()
Returns the number of row blocks.
|
int |
getRowBlockSize(int block) |
int |
getRowCountForBlock(int block)
Returns the number of physical rows within a block
|
short |
getSid()
return the non static version of the id for this record.
|
int |
getStartRowNumberForBlock(int block)
Returns the physical row number of the first row in a block
|
void |
insertRow(RowRecord row) |
boolean |
isRowGroupCollapsed(int row) |
boolean |
isRowGroupHiddenByParent(int row) |
void |
removeRow(RowRecord row) |
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
int |
serialize(int offset,
byte[] data,
ValueRecordsAggregate cells)
called by the class that is responsible for writing this sucker.
|
private int |
serializeRowBlock(int block,
int offset,
byte[] data)
Serializes a block of the rows
|
protected void |
validateSid(short id)
called by constructor, should throw runtime exception in the event of a
record passed with a differing ID.
|
int |
writeHidden(RowRecord rowRecord,
int row,
boolean hidden) |
isInValueSection, isValue, serialize, toString
int firstrow
int lastrow
Map records
int size
public RowRecordsAggregate()
public void insertRow(RowRecord row)
public void removeRow(RowRecord row)
public RowRecord getRow(int rownum)
public int getPhysicalNumberOfRows()
public int getFirstRowNum()
public int getLastRowNum()
public int getRowBlockCount()
public int getRowBlockSize(int block)
public int getRowCountForBlock(int block)
public int getStartRowNumberForBlock(int block)
public int getEndRowNumberForBlock(int block)
private int serializeRowBlock(int block, int offset, byte[] data)
public int serialize(int offset, byte[] data)
Record
public int serialize(int offset, byte[] data, ValueRecordsAggregate cells)
offset
- offset to begin writing atdata
- byte array containing instance dataprotected void fillFields(RecordInputStream in)
fillFields
in class Record
in
- the RecordInputstream to read the record fromprotected void validateSid(short id)
validateSid
in class Record
id
- alleged id for this recordpublic short getSid()
public int getRecordSize()
Record
getRecordSize
in class Record
public Iterator getIterator()
public int findStartOfRowOutlineGroup(int row)
public int findEndOfRowOutlineGroup(int row)
public int writeHidden(RowRecord rowRecord, int row, boolean hidden)
public void collapseRow(int rowNumber)
public static RowRecord createRow(int row)
row
- numberRowRecord
public boolean isRowGroupCollapsed(int row)
public void expandRow(int rowNumber)
public boolean isRowGroupHiddenByParent(int row)
Copyright © 2016 Open Microscopy Environment