|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
celeboss.ui.SortedTableModel
celeboss.ui.MonitorableTableModel
celeboss.ui.PortfolioTableModel
This table model attaches to a Portfolio manager and display the portfoilo details. It reacts to the dynamic changes to the PortfolioManger and Portfolio.
| Nested Class Summary |
| Nested classes inherited from class celeboss.ui.MonitorableTableModel |
MonitorableTableModel.ColumnSpec |
| Field Summary |
| Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
| Constructor Summary | |
PortfolioTableModel(CelebrityManager monitor)
Create a model that monitors the specified factory. |
|
| Method Summary | |
protected java.lang.Object |
getCellValue(java.lang.Object row,
int column)
Get the object value at the specified cell. |
void |
propertyChange(java.beans.PropertyChangeEvent event)
A change has occured to one of the montiored entities. |
void |
release()
This method releases all references to the model and celebrities. |
| Methods inherited from class celeboss.ui.MonitorableTableModel |
addObject, getColumnClass, getColumnCount, getColumnName, removeObject |
| Methods inherited from class celeboss.ui.SortedTableModel |
addObject, cellUpdated, getRow, getRowCount, getRowId, getValueAt, removeObject, sortByColumn |
| 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 |
| Constructor Detail |
public PortfolioTableModel(CelebrityManager monitor)
monitor - Factory to monitor.| Method Detail |
protected java.lang.Object getCellValue(java.lang.Object row,
int column)
getCellValue in class SortedTableModelrow - Object to extract value.column - COlumn index
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange in interface java.beans.PropertyChangeListenerpropertyChange in class MonitorableTableModelevent - Description of eventpublic void release()
release in class MonitorableTableModel
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||