org.datamanager.simpleton
Class TabularEmailDisplay.EmailTableModel
java.lang.Object
|
+--javax.swing.table.AbstractTableModel
|
+--org.datamanager.simpleton.TabularEmailDisplay.EmailTableModel
- All Implemented Interfaces:
- Serializable, TableModel
- Enclosing class:
- TabularEmailDisplay
- public class TabularEmailDisplay.EmailTableModel
- extends AbstractTableModel
The table used to display the email Entities.
- See Also:
- Serialized Form
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabularEmailDisplay.EmailTableModel
public TabularEmailDisplay.EmailTableModel()
getColumnCount
public int getColumnCount()
getRowCount
public int getRowCount()
getElementAt
public Object getElementAt(int rowIndex)
- Returns the object at row rowIndex.
sort
public void sort(int columnIndex)
- Initiates a sort of the tabular data. Date is a
special case. Calls stringSort() or dateSort().
setEmailList
public void setEmailList(List emailList)
getValueAt
public Object getValueAt(int rowIndex,
int columnIndex)
getColumnName
public String getColumnName(int columnIndex)
- Specified by:
getColumnName
in interface TableModel
- Overrides:
getColumnName
in class AbstractTableModel
addEmail
public void addEmail(Entity email)
- Adds the given Entity (which is expected to represent an email) to
the table.
See the Helium Website