Package ca.phon.app.log
Class CSVTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
ca.phon.app.log.CSVTableModel
- All Implemented Interfaces:
Serializable
,TableModel
Table model using a CSV reader for table data.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
deleteRow
(int row) int
getColumnName
(int column) int
getValueAt
(int rowIndex, int columnIndex) boolean
void
setUseFirstRowAsHeader
(boolean useFirstRowAsHeader) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
Constructor Details
-
CSVTableModel
public CSVTableModel(au.com.bytecode.opencsv.CSVReader csvReader)
-
-
Method Details
-
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getRowCount
public int getRowCount() -
getColumnCount
public int getColumnCount() -
getValueAt
-
isUseFirstRowAsHeader
public boolean isUseFirstRowAsHeader() -
setUseFirstRowAsHeader
public void setUseFirstRowAsHeader(boolean useFirstRowAsHeader) -
deleteRow
-