Module org.hdfgroup.hdfview
Package hdf.view.TableView
Class DefaultBaseTableView.RowHeaderDataProvider
Object
hdf.view.TableView.DefaultBaseTableView.RowHeaderDataProvider
- All Implemented Interfaces:
org.eclipse.nebula.widgets.nattable.data.IDataProvider
- Enclosing class:
DefaultBaseTableView
protected class DefaultBaseTableView.RowHeaderDataProvider
extends Object
implements org.eclipse.nebula.widgets.nattable.data.IDataProvider
Custom Row Header data provider to set row indices based on Index Base for
both Scalar Datasets and Compound Datasets.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRowHeaderDataProvider(DataFormat theDataObject) Create the Row Header data provider to set row indices based on Index Base for both Scalar Datasets and Compound Datasets. -
Method Summary
Modifier and TypeMethodDescriptionintgetDataValue(int columnIndex, int rowIndex) intvoidsetDataValue(int columnIndex, int rowIndex, Object newValue) voidupdateRows(DataFormat theDataObject) Update the Row Header data provider to set row indices based on Index Base for both Scalar Datasets and Compound Datasets.
-
Field Details
-
start
the start value. -
stride
the stride value.
-
-
Constructor Details
-
RowHeaderDataProvider
Create the Row Header data provider to set row indices based on Index Base for both Scalar Datasets and Compound Datasets.- Parameters:
theDataObject- the data object
-
-
Method Details
-
updateRows
Update the Row Header data provider to set row indices based on Index Base for both Scalar Datasets and Compound Datasets.- Parameters:
theDataObject- the data object
-
getColumnCount
- Specified by:
getColumnCountin interfaceorg.eclipse.nebula.widgets.nattable.data.IDataProvider
-
getRowCount
- Specified by:
getRowCountin interfaceorg.eclipse.nebula.widgets.nattable.data.IDataProvider
-
getDataValue
- Specified by:
getDataValuein interfaceorg.eclipse.nebula.widgets.nattable.data.IDataProvider
-
setDataValue
- Specified by:
setDataValuein interfaceorg.eclipse.nebula.widgets.nattable.data.IDataProvider
-