public class ColumnInfoRecordsAggregate extends Record
Constructor and Description |
---|
ColumnInfoRecordsAggregate() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Performs a deep clone of the record
|
void |
collapseColInfoRecords(int columnIdx) |
void |
collapseColumn(short columnNumber) |
static Record |
createColInfo()
creates the ColumnInfo Record and sets it to a default column/width
|
void |
expandColumn(short columnNumber) |
protected void |
fillFields(RecordInputStream in)
You never fill an aggregate
|
int |
findColumnIdx(int column,
int fromIdx) |
int |
findEndOfColumnOutlineGroup(int idx) |
int |
findStartOfColumnOutlineGroup(int idx) |
ColumnInfoRecord |
getColInfo(int idx) |
Iterator |
getIterator() |
int |
getNumColumns() |
int |
getRecordSize()
gives the current serialized size of the record.
|
short |
getSid()
It's an aggregate...
|
void |
groupColumnRange(short fromColumn,
short toColumn,
boolean indent)
Creates an outline group for the specified columns.
|
void |
insertColumn(ColumnInfoRecord col)
Inserts a column into the aggregate (at the end of the list).
|
void |
insertColumn(int idx,
ColumnInfoRecord col)
Inserts a column into the aggregate (at the position specified
by
idx . |
boolean |
isColumnGroupCollapsed(int idx) |
boolean |
isColumnGroupHiddenByParent(int idx) |
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
void |
setColumn(short column,
Short xfIndex,
Short width,
Integer level,
Boolean hidden,
Boolean collapsed) |
private void |
setColumnInfoFields(ColumnInfoRecord ci,
Short xfStyle,
Short width,
Integer level,
Boolean hidden,
Boolean collapsed)
Sets all non null fields into the
ci parameter. |
protected void |
validateSid(short id)
Not required by an aggregate
|
ColumnInfoRecord |
writeHidden(ColumnInfoRecord columnInfo,
int idx,
boolean hidden) |
isInValueSection, isValue, serialize, toString
List records
protected 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 void insertColumn(ColumnInfoRecord col)
public void insertColumn(int idx, ColumnInfoRecord col)
idx
.public int getNumColumns()
public int serialize(int offset, byte[] data)
public int findStartOfColumnOutlineGroup(int idx)
public int findEndOfColumnOutlineGroup(int idx)
public ColumnInfoRecord getColInfo(int idx)
public ColumnInfoRecord writeHidden(ColumnInfoRecord columnInfo, int idx, boolean hidden)
public boolean isColumnGroupCollapsed(int idx)
public boolean isColumnGroupHiddenByParent(int idx)
public void collapseColumn(short columnNumber)
public void expandColumn(short columnNumber)
public static Record createColInfo()
ColumnInfoRecord
public void setColumn(short column, Short xfIndex, Short width, Integer level, Boolean hidden, Boolean collapsed)
private void setColumnInfoFields(ColumnInfoRecord ci, Short xfStyle, Short width, Integer level, Boolean hidden, Boolean collapsed)
ci
parameter.public int findColumnIdx(int column, int fromIdx)
public void collapseColInfoRecords(int columnIdx)
public void groupColumnRange(short fromColumn, short toColumn, boolean indent)
fromColumn
- group from this column (inclusive)toColumn
- group to this column (inclusive)indent
- if true the group will be indented by one level,
if false indenting will be removed by one level.Copyright © 2016 Open Microscopy Environment