|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.swing.table.AbstractTableModel
|
+--org.workjournal.JournalTableModel
JournalTableModel is a table model that is used by
JournalTable to access a Journal, which is
a collection of JournalEntry objects.
JournalTable,
JournalEntry, Serialized Form| Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
| Constructor Summary | |
JournalTableModel(Journal journal)
Construct a new journal table model. |
|
| Method Summary | |
java.lang.Class |
getColumnClass(int col)
Get the class of the given column. |
int |
getColumnCount()
Get the number of columns to display. |
int |
getRowCount()
Get the number of rows in the journal. |
java.lang.Object |
getValueAt(int row,
int col)
Get the value at the given row and column. |
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, isCellEditable, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JournalTableModel(Journal journal)
throws java.beans.IntrospectionException
| Method Detail |
public int getRowCount()
getRowCount in class javax.swing.table.AbstractTableModelpublic int getColumnCount()
getColumnCount in class javax.swing.table.AbstractTableModelpublic java.lang.Class getColumnClass(int col)
getColumnClass in class javax.swing.table.AbstractTableModel
public java.lang.Object getValueAt(int row,
int col)
getValueAt in class javax.swing.table.AbstractTableModel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||