public interface TableContentModel extends ContentModel
ContentContainer
. Values are arranged in rows and named columns
where values in a particular column have the same storage type.ContentContainer
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Returns the number of columns in this content model.
|
java.lang.String |
getColumnName(int columnIndex)
Returns the name of a specified column in this content model.
|
int |
getRowCount()
Returns the number of rows in this content model.
|
StorageType |
getStorageType(int columnIndex)
Returns the storage type of objects in a specified column of this content model.
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Returns the value from a specified row and column in this content model.
|
getContainerName, reset
int getRowCount()
int getColumnCount()
java.lang.String getColumnName(int columnIndex)
0 <= index < getColumnCount()
columnIndex
- the column indexjava.lang.IndexOutOfBoundsException
- unless the column index is in rangeStorageType getStorageType(int columnIndex)
0 <= index < getColumnCount()
columnIndex
- the column indexjava.lang.IndexOutOfBoundsException
- unless the column index is in rangejava.lang.Object getValueAt(int rowIndex, int columnIndex)
0 <= rowIndex < getRowCount() && 0 <= columnIndex < getColumnCount()
The returned value will either be null
or an instance of the
class returned by getColumnClass
for the same column index.rowIndex
- the row indexcolumnIndex
- the column indexjava.lang.IndexOutOfBoundsException
- unless the row and column indexes are
in range(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.