cz.cuni.mff.ksi.jinfer.iss.tables
Class FlatModel
java.lang.Object
javax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
cz.cuni.mff.ksi.jinfer.iss.tables.FlatModel
- All Implemented Interfaces:
- Serializable, TableModel
public class FlatModel
- extends DefaultTableModel
An implementation of TableModel
for use in TableViewPanel
.
- See Also:
- Serialized Form
Methods inherited from class javax.swing.table.DefaultTableModel |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlatModel
public FlatModel(List<Triplet> data)
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interface TableModel
- Overrides:
getColumnCount
in class DefaultTableModel
getColumnName
public String getColumnName(int column)
- Specified by:
getColumnName
in interface TableModel
- Overrides:
getColumnName
in class DefaultTableModel
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface TableModel
- Overrides:
getRowCount
in class DefaultTableModel
getValueAt
public Object getValueAt(int row,
int column)
- Specified by:
getValueAt
in interface TableModel
- Overrides:
getValueAt
in class DefaultTableModel
isCellEditable
public boolean isCellEditable(int row,
int column)
- Specified by:
isCellEditable
in interface TableModel
- Overrides:
isCellEditable
in class DefaultTableModel
Generated on Fri Dec 9 00:01:25 CET 2011