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 Details

    • start

      protected int start
      the start value.
    • stride

      protected int stride
      the stride value.
  • Constructor Details

    • RowHeaderDataProvider

      public RowHeaderDataProvider(DataFormat theDataObject)
      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

      public 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.
      Parameters:
      theDataObject - the data object
    • getColumnCount

      public int getColumnCount()
      Specified by:
      getColumnCount in interface org.eclipse.nebula.widgets.nattable.data.IDataProvider
    • getRowCount

      public int getRowCount()
      Specified by:
      getRowCount in interface org.eclipse.nebula.widgets.nattable.data.IDataProvider
    • getDataValue

      public Object getDataValue(int columnIndex, int rowIndex)
      Specified by:
      getDataValue in interface org.eclipse.nebula.widgets.nattable.data.IDataProvider
    • setDataValue

      public void setDataValue(int columnIndex, int rowIndex, Object newValue)
      Specified by:
      setDataValue in interface org.eclipse.nebula.widgets.nattable.data.IDataProvider