public class PatternsEditor.PACTableModel
extends javax.swing.table.DefaultTableModel
Constructor and Description |
---|
PACTableModel()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addRow(java.lang.Object[] obj,
boolean editable) |
java.lang.Class |
getColumnClass(int columnIndex)
Get column class
|
int |
getColumnCount()
Get column count as integer
|
java.lang.String |
getColumnName(int index)
Get column name at given index
|
boolean |
isCellEditable(int row,
int column)
Test if cell at given row, col is editable
|
void |
setColumnName(java.lang.String name,
int index)
Set the column name at the specified index
|
java.lang.String |
toString()
Returns all data as a single string
|
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, getRowCount, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public void addRow(java.lang.Object[] obj, boolean editable)
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
getColumnCount
in class javax.swing.table.DefaultTableModel
public java.lang.Class getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
columnIndex
- public boolean isCellEditable(int row, int column)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.DefaultTableModel
row
- column
- public java.lang.String getColumnName(int index)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.DefaultTableModel
index
- public void setColumnName(java.lang.String name, int index)
name
- index
- public java.lang.String toString()
toString
in class java.lang.Object