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
-
Constructor Summary
ConstructorDescriptionRowHeaderDataProvider
(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 TypeMethodDescriptionint
getDataValue
(int columnIndex, int rowIndex) int
void
setDataValue
(int columnIndex, int rowIndex, Object newValue) void
updateRows
(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:
getColumnCount
in interfaceorg.eclipse.nebula.widgets.nattable.data.IDataProvider
-
getRowCount
- Specified by:
getRowCount
in interfaceorg.eclipse.nebula.widgets.nattable.data.IDataProvider
-
getDataValue
- Specified by:
getDataValue
in interfaceorg.eclipse.nebula.widgets.nattable.data.IDataProvider
-
setDataValue
- Specified by:
setDataValue
in interfaceorg.eclipse.nebula.widgets.nattable.data.IDataProvider
-