net.mlw.vlh.swing.support
Class AbstractValueListTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
net.mlw.vlh.swing.support.AbstractValueListTableModel
- All Implemented Interfaces:
- Serializable, TableModel, ValueListTableModel
- Direct Known Subclasses:
- DyanBeanTableModel
- public abstract class AbstractValueListTableModel
- extends AbstractTableModel
- implements ValueListTableModel
- Version:
- $Revision: 1.5 $ $Date: 2005/08/30 18:54:25 $
- Author:
- Matthew L. Wilson
- See Also:
- Serialized Form
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
list
protected List list
rowCount
protected int rowCount
AbstractValueListTableModel
public AbstractValueListTableModel()
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface TableModel
- See Also:
TableModel.getRowCount()
addBean
public int addBean(Object bean)
- Specified by:
addBean
in interface ValueListTableModel
getBean
public Object getBean(int row)
- Specified by:
getBean
in interface ValueListTableModel
setList
public void setList(List list)
setValueList
public void setValueList(ValueList valueList)
- Specified by:
setValueList
in interface ValueListTableModel
trimFromList
public int trimFromList(int index)
- Specified by:
trimFromList
in interface ValueListTableModel
- See Also:
net.mlw.vlh.swing.ValueListTableModel#trimFromBottomOfList()
contains
public boolean contains(Object bean)
- Specified by:
contains
in interface ValueListTableModel
- See Also:
ValueListTableModel.contains(Object)
removeBean
public int removeBean(Object bean)
- Specified by:
removeBean
in interface ValueListTableModel
Copyright © 2003-2006 mlavilson. All Rights Reserved.