Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

net.jxta.ext.config.ui
Class HttpTransportTableModel  view HttpTransportTableModel download HttpTransportTableModel.java

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byjavax.swing.table.DefaultTableModel
          extended bynet.jxta.ext.config.ui.TransportTableModel
              extended bynet.jxta.ext.config.ui.HttpTransportTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class HttpTransportTableModel
extends TransportTableModel

Table model for ext:config:ui http transport display

Version:

Field Summary
private static java.lang.String[] columnNames
           
private static java.util.Vector rowset
           
 
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
HttpTransportTableModel()
           
 
Method Summary
 void addRow(java.lang.Object[] obj)
          Adds a new row containing the specified data to the table and sends a TableModelEvent to all registered listeners.
 void deleteRow(int row)
           
 java.lang.Class getColumnClass(int col)
          Returns the Class for all Object instances in the specified column.
 int getColumnCount()
          Returns the number of columns in the model.
 java.lang.String getColumnName(int col)
          Get the name of the column.
(package private)  java.lang.String[] getColumns()
           
 int getRowCount()
          Returns the number of rows in the model.
(package private)  java.util.Vector getRows()
           
 java.lang.Object getValueAt(int row, int col)
          Returns the value at the specified cell in the table.
 boolean isCellEditable(int row, int col)
          Returns true if the specified cell can be modified, and false otherwise.
 
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
 

Field Detail

columnNames

private static final java.lang.String[] columnNames

rowset

private static final java.util.Vector rowset
Constructor Detail

HttpTransportTableModel

public HttpTransportTableModel()
Method Detail

getColumns

java.lang.String[] getColumns()
Specified by:
getColumns in class TransportTableModel

getRows

java.util.Vector getRows()
Specified by:
getRows in class TransportTableModel

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)