Class BlinkingGlazedListExample.ColumnHeaderDataProvider
java.lang.Object
org.eclipse.nebula.widgets.nattable.examples.examples._103_Events.BlinkingGlazedListExample.ColumnHeaderDataProvider
- All Implemented Interfaces:
IDataProvider
- Enclosing class:
- BlinkingGlazedListExample
public class BlinkingGlazedListExample.ColumnHeaderDataProvider
extends Object
implements IDataProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDataValue(int columnIndex, int rowIndex) Gets the value at the given column and row index.intvoidsetDataValue(int columnIndex, int rowIndex, Object newValue) Sets the value at the given column and row index.
-
Constructor Details
-
ColumnHeaderDataProvider
public ColumnHeaderDataProvider()
-
-
Method Details
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceIDataProvider- Returns:
- The number of columns this
IDataProviderhandles.
-
getDataValue
Description copied from interface:IDataProviderGets the value at the given column and row index.- Specified by:
getDataValuein interfaceIDataProvider- Parameters:
columnIndex- The column index of the cell whose value is requested.rowIndex- The row index of the cell whose value is requested.- Returns:
- The data value associated with the specified cell coordintates.
-
getRowCount
public int getRowCount()- Specified by:
getRowCountin interfaceIDataProvider- Returns:
- The number of rows this
IDataProviderhandles.
-
setDataValue
Description copied from interface:IDataProviderSets the value at the given column and row index. Optional operation. Should throw UnsupportedOperationException if this operation is not supported.- Specified by:
setDataValuein interfaceIDataProvider- Parameters:
columnIndex- 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.
-