com.tirsen.angkor.beans
Class BasicBeanTableModel

java.lang.Object
  |
  +--com.tirsen.angkor.table.AbstractTableModel
        |
        +--com.tirsen.angkor.beans.BeanTableModel
              |
              +--com.tirsen.angkor.beans.BasicBeanTableModel
All Implemented Interfaces:
ChangeSource, java.io.Serializable, TableModel

public class BasicBeanTableModel
extends BeanTableModel

Version:
$Revision: 1.2 $
Author:
Jon Tirs´n (tirsen@users.sourceforge.net)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.tirsen.angkor.beans.BeanTableModel
BeanTableModel.TableColumnModel
 
Constructor Summary
BasicBeanTableModel()
           
BasicBeanTableModel(java.lang.Class rowClass)
           
 
Method Summary
 void empty()
           
 int getRowCount()
           
protected  java.util.List getRows()
           
 void setRow(int row, java.lang.Object object)
           
 void setRows(int startRow, java.util.Collection objects)
          Sets a segment of rows starting at specified startRow.
 void setRows(java.util.Iterator iterator)
           
 void setRows(java.util.List rows)
           
 void setRows(java.lang.Object[] rows)
           
 
Methods inherited from class com.tirsen.angkor.beans.BeanTableModel
addColumn, addColumn, findProperty, getColumnCount, getColumnName, getRow, getRowClass, getValueAt, resetColumns
 
Methods inherited from class com.tirsen.angkor.table.AbstractTableModel
addChangeListener, getEnd, getRowCountInRange, getStart, removeChangeListener, setRange, setRowCount, signalChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicBeanTableModel

public BasicBeanTableModel()

BasicBeanTableModel

public BasicBeanTableModel(java.lang.Class rowClass)
Method Detail

getRows

protected java.util.List getRows()
Specified by:
getRows in class BeanTableModel

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableModel
Overrides:
getRowCount in class AbstractTableModel

setRow

public void setRow(int row,
                   java.lang.Object object)

setRows

public void setRows(int startRow,
                    java.util.Collection objects)
Sets a segment of rows starting at specified startRow.


setRows

public void setRows(java.lang.Object[] rows)

setRows

public void setRows(java.util.List rows)

setRows

public void setRows(java.util.Iterator iterator)

empty

public void empty()
Overrides:
empty in class AbstractTableModel


Copyright © 2002-2002 . All Rights Reserved.