Class CSVTableModel

All Implemented Interfaces:
Serializable, TableModel

public class CSVTableModel extends AbstractTableModel
Table model using a CSV reader for table data.
See Also:
  • Constructor Details

    • CSVTableModel

      public CSVTableModel(au.com.bytecode.opencsv.CSVReader csvReader)
  • Method Details

    • getColumnName

      public String getColumnName(int column)
      Specified by:
      getColumnName in interface TableModel
      Overrides:
      getColumnName in class AbstractTableModel
    • getRowCount

      public int getRowCount()
    • getColumnCount

      public int getColumnCount()
    • getValueAt

      public Object getValueAt(int rowIndex, int columnIndex)
    • isUseFirstRowAsHeader

      public boolean isUseFirstRowAsHeader()
    • setUseFirstRowAsHeader

      public void setUseFirstRowAsHeader(boolean useFirstRowAsHeader)
    • deleteRow

      public String[] deleteRow(int row)