public class DummyModifiableBodyDataProvider extends Object implements IDataProvider
Constructor and Description |
---|
DummyModifiableBodyDataProvider(int columnCount,
int rowCount) |
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 |
setColumnCount(int columnCount)
You have to fire a
StructuralRefreshEvent after using this method for refreshing the NatTable. |
void |
setDataValue(int columnIndex,
int rowIndex,
Object newValue)
Sets the value at the given column and row index.
|
void |
setRowCount(int rowCount)
You have to fire a
StructuralRefreshEvent after using this method for refreshing the NatTable. |
public DummyModifiableBodyDataProvider(int columnCount, int rowCount)
public int getColumnCount()
getColumnCount
in interface IDataProvider
public int getRowCount()
getRowCount
in interface IDataProvider
public void setColumnCount(int columnCount)
StructuralRefreshEvent
after using this method for refreshing the NatTable.columnCount
- public void setRowCount(int rowCount)
StructuralRefreshEvent
after using this method for refreshing the NatTable.rowCount
- public Object getDataValue(int columnIndex, int rowIndex)
IDataProvider
getDataValue
in interface IDataProvider
public void setDataValue(int columnIndex, int rowIndex, Object newValue)
IDataProvider
setDataValue
in interface IDataProvider
Copyright © 2013. All Rights Reserved.