| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
ca.odell.glazedlists.swing.EventTableModel
org.archiviststoolkit.mydomain.DomainEventTableModel
public class DomainEventTableModel
| Field Summary | |
|---|---|
| protected  java.util.ArrayList<DomainObject> | domainCollectionThe list of domainobjects to display. | 
| Fields inherited from class ca.odell.glazedlists.swing.EventTableModel | 
|---|
| source, swingThreadSource | 
| Fields inherited from class javax.swing.table.AbstractTableModel | 
|---|
| listenerList | 
| Constructor Summary | |
|---|---|
| DomainEventTableModel(ca.odell.glazedlists.EventList eventList,
                      ca.odell.glazedlists.gui.TableFormat tableFormat) | |
| Method Summary | |
|---|---|
|  java.util.ArrayList<DomainObject> | getDomainCollection() | 
|  int | getIndex(DomainObject object)Get the row index of a specific domain object. | 
|  void | setDomainObject(int index,
                DomainObject object) | 
|  void | updateCollection(java.util.Collection newCollection) | 
| Methods inherited from class ca.odell.glazedlists.swing.EventTableModel | 
|---|
| createSwingThreadProxyList, dispose, getColumnClass, getColumnCount, getColumnName, getElementAt, getMutableTableModelEvent, getRowCount, getTableFormat, getValueAt, handleListChange, isCellEditable, listChanged, setTableFormat, setValueAt | 
| 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 | 
| Field Detail | 
|---|
protected java.util.ArrayList<DomainObject> domainCollection
| Constructor Detail | 
|---|
public DomainEventTableModel(ca.odell.glazedlists.EventList eventList,
                             ca.odell.glazedlists.gui.TableFormat tableFormat)
| Method Detail | 
|---|
public void updateCollection(java.util.Collection newCollection)
public int getIndex(DomainObject object)
object - the object in question
public java.util.ArrayList<DomainObject> getDomainCollection()
public void setDomainObject(int index,
                            DomainObject object)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||