public class DefaultRowHeaderDataProvider extends Object implements IDataProvider
| Modifier and Type | Field and Description |
|---|---|
protected IDataProvider |
bodyDataProvider |
| Constructor and Description |
|---|
DefaultRowHeaderDataProvider(IDataProvider bodyDataProvider) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount() |
Object |
getDataValue(int columnIndex,
int rowIndex)
Gets the value at the given column and row index.
|
int |
getRowCount() |
void |
setDataValue(int columnIndex,
int rowIndex,
Object newValue)
Sets the value at the given column and row index.
|
protected final IDataProvider bodyDataProvider
public DefaultRowHeaderDataProvider(IDataProvider bodyDataProvider)
public int getColumnCount()
getColumnCount in interface IDataProviderIDataProvider handles.public int getRowCount()
getRowCount in interface IDataProviderIDataProvider handles.public Object getDataValue(int columnIndex, int rowIndex)
IDataProvidergetDataValue in interface IDataProvidercolumnIndex - The column index of the cell whose value is requested.rowIndex - The row index of the cell whose value is requested.public void setDataValue(int columnIndex,
int rowIndex,
Object newValue)
IDataProvidersetDataValue in interface IDataProvidercolumnIndex - The column index of the cell whose value should be changed.rowIndex - The row index of the cell whose value should be changed.newValue - The new value that should be set.Copyright © 2019. All rights reserved.