+
+ /* Method definitions for AbstractTableModel
+ */
+ def getColumnCount = 2
+ def getRowCount = _reports.size
+
+ override def getColumnName(column: Int) : String = {
+ column match {
+ case 0 => "Date"
+ case 1 => "# Tasks"
+ }
+ }
+
+ def getValueAt(row: Int, column: Int) : Object = {
+ column match {
+ case 0 => this(row).dateString
+ case 1 => this(row).size : Integer
+ }
+ }