com.tirsen.angkor.beans
Class BeanTableModel
java.lang.Object
|
+--com.tirsen.angkor.table.AbstractTableModel
|
+--com.tirsen.angkor.beans.BeanTableModel
- All Implemented Interfaces:
- ChangeSource, java.io.Serializable, TableModel
- Direct Known Subclasses:
- BasicBeanTableModel
- public abstract class BeanTableModel
- extends AbstractTableModel
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanTableModel
public BeanTableModel()
BeanTableModel
public BeanTableModel(java.lang.Class rowClass)
resetColumns
public void resetColumns()
- Resets the columns.
getRowClass
protected java.lang.Class getRowClass()
addColumn
public void addColumn(BeanTableModel.TableColumnModel column)
findProperty
public java.beans.PropertyDescriptor findProperty(java.lang.String property)
addColumn
public void addColumn(java.lang.String name,
java.lang.String property)
getColumnName
public java.lang.String getColumnName(int column)
getColumnCount
public int getColumnCount()
getValueAt
public ValueModel getValueAt(int row,
int column)
getRow
public java.lang.Object getRow(int row)
- Gets the value object for a specified row, also checks wheather row is within range specified by
AbstractTableModel.setRange(int,int)
.
- Throws:
java.lang.IllegalArgumentException
- if row
parameter is outside specified range.
getRows
protected abstract java.util.List getRows()
Copyright © 2002-2002 . All Rights Reserved.