net.sourceforge.xwing.swing
Class XTableModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended bynet.sourceforge.xwing.swing.XTableModel
All Implemented Interfaces:
Serializable, TableModel

public class XTableModel
extends AbstractTableModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
XTableModel(ListModel pRows, ListModel pCols)
           
 
Method Summary
 XTableColumn getColumn(int index)
           
 Class getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 String getColumnName(int column)
           
 Object getRowContext(int index)
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void setValueAt(Object aValue, int rowIndex, int columnIndex)
           
 
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
 

Constructor Detail

XTableModel

public XTableModel(ListModel pRows,
                   ListModel pCols)
            throws Exception
Method Detail

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)

getColumnClass

public Class getColumnClass(int columnIndex)

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)

getRowContext

public Object getRowContext(int index)

getColumn

public XTableColumn getColumn(int index)

getColumnName

public String getColumnName(int column)

setValueAt

public void setValueAt(Object aValue,
                       int rowIndex,
                       int columnIndex)


Copyright © 2003 The Xwing Project. All Rights Reserved.