public class XMLTableModel
extends javax.swing.table.AbstractTableModel
| Constructor | Description |
|---|---|
XMLTableModel(XMLControl control) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getColumnCount() |
Gets the number of columns.
|
java.lang.String |
getColumnName(int column) |
Gets the name of the specified column.
|
int |
getRowCount() |
Gets the number of rows.
|
java.lang.Object |
getValueAt(int row,
int column) |
Gets the value at the given cell.
|
boolean |
isCellEditable(int row,
int col) |
Determines whether the given cell is editable.
|
void |
setValueAt(java.lang.Object value,
int row,
int col) |
Sets the value at the given cell.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListenerpublic XMLTableModel(XMLControl control)
control - an xml controlpublic int getColumnCount()
public java.lang.String getColumnName(int column)
getColumnName in class javax.swing.table.AbstractTableModelcolumn - the column indexpublic int getRowCount()
public java.lang.Object getValueAt(int row,
int column)
row - the row indexcolumn - the column indexpublic boolean isCellEditable(int row,
int col)
isCellEditable in class javax.swing.table.AbstractTableModelrow - the row indexcol - the column indexpublic void setValueAt(java.lang.Object value,
int row,
int col)
setValueAt in class javax.swing.table.AbstractTableModelvalue - the valuerow - the row indexcol - the column index