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
    Modifier and Type Field Description
    protected int start  
    protected int stride  
  • Constructor Summary

    Constructors
    Constructor Description
    RowHeaderDataProvider​(DataFormat theDataObject)  
  • Method Summary

    Modifier and Type Method Description
    int getColumnCount()  
    Object getDataValue​(int columnIndex, int rowIndex)  
    int getRowCount()  
    void setDataValue​(int columnIndex, int rowIndex, Object newValue)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • start

      protected final int start
    • stride

      protected final int stride
  • Constructor Details

  • Method Details

    • 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