org.jdesktop.swing.data
Class RowSetAdapter

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byorg.jdesktop.swing.data.RowSetAdapter
All Implemented Interfaces:
Serializable, TableModel

public class RowSetAdapter
extends AbstractTableModel

Placeholder for future RowSet TableModel adapter to enable easy connectivity to JDBC RowSet functionality available via JSR 114. Note: This class is not yet fully functional.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Method Summary
 Class getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
protected  int translateAdapterColumn(int columnIndex)
           
protected  int translateAdapterRow(int rowIndex)
           
protected  int translateDataColumn(int dataColumnIndex)
           
protected  int translateDataRow(int dataRowIndex)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getColumnClass

public Class getColumnClass(int columnIndex)

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)

translateAdapterColumn

protected int translateAdapterColumn(int columnIndex)

translateDataColumn

protected int translateDataColumn(int dataColumnIndex)

translateAdapterRow

protected int translateAdapterRow(int rowIndex)

translateDataRow

protected int translateDataRow(int dataRowIndex)


Copyright 2004 by Sun Microsystems, Inc. All Rights Reserved.