TV-Browser 2.7.5 API

tvbrowser.extras.reminderplugin
Class ReminderTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by tvbrowser.extras.reminderplugin.ReminderTableModel
All Implemented Interfaces:
Serializable, TableModel

public class ReminderTableModel
extends AbstractTableModel

The model for the reminder table.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ReminderTableModel(ReminderList list, JComboBox titleFilterBox)
          Creates an instance of this class.
 
Method Summary
 Class<?> getColumnClass(int c)
           
 int getColumnCount()
           
 String getColumnName(int column)
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void setValueAt(Object aValue, int rowIndex, int columnIndex)
           
 void updateTableEntries()
          Updates the entries of the reminder list table.
 
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
 

Constructor Detail

ReminderTableModel

public ReminderTableModel(ReminderList list,
                          JComboBox titleFilterBox)
Creates an instance of this class.

Parameters:
list - The list with the reminders.
titleFilterBox - The title filter selection combo box.
Method Detail

updateTableEntries

public void updateTableEntries()
Updates the entries of the reminder list table.

Since:
2.7.2

getColumnName

public String getColumnName(int column)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class AbstractTableModel

setValueAt

public void setValueAt(Object aValue,
                       int rowIndex,
                       int columnIndex)
Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class AbstractTableModel

getColumnClass

public Class<?> getColumnClass(int c)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)