public class RelationTableModel
extends javax.swing.table.DefaultTableModel
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String[] |
columnNames
Column names
|
private RelationModel |
relationModel
Relation model
|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
RelationTableModel()
Constructor
|
RelationTableModel(RelationModel relationModel)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
private static java.util.Vector<java.util.Vector<java.lang.Object>> |
getData(java.util.Collection<Relation> relations)
Get data vector
|
RelationModel |
getRelationModel()
Access to relation model
|
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAtaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListenerprivate static final long serialVersionUID
private static final java.lang.String[] columnNames
private final RelationModel relationModel
public RelationTableModel()
public RelationTableModel(RelationModel relationModel)
relationModel - relation modelprivate static java.util.Vector<java.util.Vector<java.lang.Object>> getData(java.util.Collection<Relation> relations)
relations - list of grammatical relationspublic RelationModel getRelationModel()
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface javax.swing.table.TableModelisCellEditable in class javax.swing.table.DefaultTableModel