java.lang.Object
javax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
net.jxta.ext.config.ui.TransportTableModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.table.TableModel
- Direct Known Subclasses:
- HttpTransportTableModel, TcpTransportTableModel
- abstract class TransportTableModel
- extends javax.swing.table.DefaultTableModel
Abstract base class for JXTA transport tables in ext:config:ui
- Version:
| Methods inherited from class javax.swing.table.DefaultTableModel |
addColumn, addColumn, addColumn, 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, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportTableModel
TransportTableModel()
getColumns
abstract java.lang.String[] getColumns()
getRows
abstract java.util.Vector getRows()
getColumnName
public java.lang.String getColumnName(int col)
- Description copied from class:
javax.swing.table.DefaultTableModel
- Get the name of the column. If the column has the column identifier set,
the return value is the result of the .toString() method call on that
identifier. If the identifier is not explicitly set, the returned value
is calculated by AbstractTableModel.getColumnName(int)>
AbstractTableModel.getColumnName(int) 55 .
getColumnCount
public int getColumnCount()
- Description copied from class:
javax.swing.table.DefaultTableModel
- Returns the number of columns in the model.
getRowCount
public int getRowCount()
- Description copied from class:
javax.swing.table.DefaultTableModel
- Returns the number of rows in the model.
getColumnClass
public java.lang.Class getColumnClass(int col)
- Description copied from class:
javax.swing.table.AbstractTableModel
- Returns the
Class for all Object instances
in the specified column.
getValueAt
public java.lang.Object getValueAt(int row,
int col)
- Description copied from class:
javax.swing.table.DefaultTableModel
- Returns the value at the specified cell in the table.
isCellEditable
public boolean isCellEditable(int row,
int col)
- Description copied from class:
javax.swing.table.DefaultTableModel
- Returns
true if the specified cell can be modified, and
false otherwise. For this implementation, the method
always returns true.
addRow
public void addRow(java.lang.Object[] obj)
- Description copied from class:
javax.swing.table.DefaultTableModel
- Adds a new row containing the specified data to the table and sends a
javax.swing.event.TableModelEvent to all registered listeners.
deleteRow
public void deleteRow(int row)