public class BrowseRow
extends java.lang.Object
implements java.io.Externalizable
| Modifier and Type | Field and Description |
|---|---|
CellAttributes[] |
attr
Cell attributes.
|
BaseDataType[] |
data
Cell data.
|
int |
rowIndex
Row index in the browse model.
|
java.lang.String[] |
text
Cell text (rendered cell data).
|
| Constructor and Description |
|---|
BrowseRow()
Default constructor
|
BrowseRow(int columnCount)
Creates browse row.
|
BrowseRow(int rowIndex,
BaseDataType[] data,
boolean chui)
Creates browse row.
|
BrowseRow(int columnCount,
int rowIndex)
Creates browse row.
|
| Modifier and Type | Method and Description |
|---|---|
BrowseRow |
duplicate()
Duplicate the row.
|
void |
readExternal(java.io.ObjectInput in)
Replacement for the default object reading method.
|
void |
renderRow(BrowseColumnConfig[] columnConfigs)
|
void |
updateColumnRenderedText(BrowseColumnConfig columnConfig,
int columnIndex)
Update the rendered text for the given column.
|
void |
writeExternal(java.io.ObjectOutput out)
Replacement for the default object writing method.
|
public int rowIndex
public BaseDataType[] data
public CellAttributes[] attr
public java.lang.String[] text
public BrowseRow()
BrowseRow(int columnCount)
columnCount - Number of columns in the browse.public BrowseRow(int columnCount,
int rowIndex)
columnCount - Number of columns in the browse.rowIndex - Row index in the browse model.public BrowseRow(int rowIndex,
BaseDataType[] data,
boolean chui)
rowIndex - Row index in the browse model.data - Cell data.chui - true if it is a ChUI row, false if it is a GUI row.public void renderRow(BrowseColumnConfig[] columnConfigs)
columnConfigs - Browse columns' configurations.public void updateColumnRenderedText(BrowseColumnConfig columnConfig, int columnIndex)
columnConfig - The given column configcolumnIndex - The given column indexpublic BrowseRow duplicate()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - The output destination to which fields will be saved.java.io.IOException - In case of I/O errors.public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - Input source from which fields will be restored.java.io.IOException - In case of I/O errors.java.lang.ClassNotFoundException - If payload can't be instantiated.