org.mailster.gui.glazedlists
Class SmtpMessageTableFormat
java.lang.Object
org.mailster.gui.glazedlists.SmtpMessageTableFormat
- All Implemented Interfaces:
- ca.odell.glazedlists.gui.AdvancedTableFormat<StoredSmtpMessage>, ca.odell.glazedlists.gui.TableFormat<StoredSmtpMessage>, ca.odell.glazedlists.gui.WritableTableFormat<StoredSmtpMessage>
public class SmtpMessageTableFormat
- extends java.lang.Object
- implements ca.odell.glazedlists.gui.WritableTableFormat<StoredSmtpMessage>, ca.odell.glazedlists.gui.AdvancedTableFormat<StoredSmtpMessage>
---
Mailster (C) 2007-2009 De Oliveira Edouard
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 675 Mass
Ave, Cambridge, MA 02139, USA.
See Mailster
Web Site
---
SmtpMessageTableFormat.java - Defines columns order and values.
- Version:
- $Revision: 1.8 $, $Date: 2009/03/21 01:15:15 $
- Author:
- Edouard De Oliveira
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toHeader
private java.lang.String toHeader
subjectHeader
private java.lang.String subjectHeader
dateHeader
private java.lang.String dateHeader
stringComparator
private static java.util.Comparator<java.lang.String> stringComparator
dateComparator
private static java.util.Comparator<java.util.Date> dateComparator
ATTACHMENT_COLUMN
public static final int ATTACHMENT_COLUMN
- See Also:
- Constant Field Values
TO_COLUMN
public static final int TO_COLUMN
- See Also:
- Constant Field Values
SUBJECT_COLUMN
public static final int SUBJECT_COLUMN
- See Also:
- Constant Field Values
FLAG_COLUMN
public static final int FLAG_COLUMN
- See Also:
- Constant Field Values
DATE_COLUMN
public static final int DATE_COLUMN
- See Also:
- Constant Field Values
SmtpMessageTableFormat
public SmtpMessageTableFormat()
init
private void init()
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount in interface ca.odell.glazedlists.gui.TableFormat<StoredSmtpMessage>
getColumnName
public java.lang.String getColumnName(int column)
- Specified by:
getColumnName in interface ca.odell.glazedlists.gui.TableFormat<StoredSmtpMessage>
getColumnValue
public java.lang.Object getColumnValue(StoredSmtpMessage stored,
int column)
- Specified by:
getColumnValue in interface ca.odell.glazedlists.gui.TableFormat<StoredSmtpMessage>
isEditable
public boolean isEditable(StoredSmtpMessage msg,
int column)
- Specified by:
isEditable in interface ca.odell.glazedlists.gui.WritableTableFormat<StoredSmtpMessage>
setColumnValue
public StoredSmtpMessage setColumnValue(StoredSmtpMessage msg,
java.lang.Object obj,
int column)
- Specified by:
setColumnValue in interface ca.odell.glazedlists.gui.WritableTableFormat<StoredSmtpMessage>
getColumnClass
public java.lang.Class getColumnClass(int column)
- Specified by:
getColumnClass in interface ca.odell.glazedlists.gui.AdvancedTableFormat<StoredSmtpMessage>
getColumnComparator
public java.util.Comparator getColumnComparator(int column)
- Specified by:
getColumnComparator in interface ca.odell.glazedlists.gui.AdvancedTableFormat<StoredSmtpMessage>