Interface IDataProvider

    • Method Detail

      • getDataValue

        Object getDataValue​(int columnIndex,
                            int rowIndex)
        Gets the value at the given column and row index.
        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.
      • setDataValue

        void setDataValue​(int columnIndex,
                          int rowIndex,
                          Object newValue)
        Sets the value at the given column and row index. Optional operation. Should throw UnsupportedOperationException if this operation is not supported.
        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.
      • getColumnCount

        int getColumnCount()
        Returns:
        The number of columns this IDataProvider handles.
      • getRowCount

        int getRowCount()
        Returns:
        The number of rows this IDataProvider handles.