net.mlw.vlh.swing.support
Class DyanBeanTableModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended bynet.mlw.vlh.swing.support.AbstractValueListTableModel
          extended bynet.mlw.vlh.swing.support.DyanBeanTableModel
All Implemented Interfaces:
Serializable, TableModel, ValueListTableModel

public class DyanBeanTableModel
extends AbstractValueListTableModel

Version:
$Revision: 1.2 $ $Date: 2005/04/01 20:21:47 $
Author:
Matthew L. Wilson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.mlw.vlh.swing.support.AbstractValueListTableModel
list, rowCount
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
DyanBeanTableModel()
           
 
Method Summary
 void addColumn(String title, String property)
           
 void addColumn(String title, String property, Class klass)
           
 Class getColumnClass(int index)
           
 int getColumnCount()
           
 String getColumnName(int i)
           
 String getSortPropertyName(int i)
           
 Object getValueAt(int row, int column)
           
 
Methods inherited from class net.mlw.vlh.swing.support.AbstractValueListTableModel
addBean, contains, getBean, getRowCount, removeBean, setList, setValueList, trimFromList
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, isCellEditable, removeTableModelListener, setValueAt
 

Constructor Detail

DyanBeanTableModel

public DyanBeanTableModel()
Method Detail

addColumn

public void addColumn(String title,
                      String property)

addColumn

public void addColumn(String title,
                      String property,
                      Class klass)

getSortPropertyName

public String getSortPropertyName(int i)

getColumnName

public String getColumnName(int i)
See Also:
TableModel.getColumnName(int)

getColumnCount

public int getColumnCount()
See Also:
TableModel.getColumnCount()

getValueAt

public Object getValueAt(int row,
                         int column)
See Also:
TableModel.getValueAt(int, int)

getColumnClass

public Class getColumnClass(int index)
See Also:
TableModel.getColumnClass(int)


Copyright © 2003-2006 mlavilson. All Rights Reserved.