org.mailster.gui.glazedlists
Class SmtpMessageTableItemConfigurer

java.lang.Object
  extended by org.mailster.gui.glazedlists.SmtpMessageTableItemConfigurer
All Implemented Interfaces:
ca.odell.glazedlists.swt.TableItemConfigurer<StoredSmtpMessage>

public class SmtpMessageTableItemConfigurer
extends java.lang.Object
implements ca.odell.glazedlists.swt.TableItemConfigurer<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
---

SmtpMessageTableItemConfigurer.java - Decorates the table items.

Version:
$Revision: 1.3 $, $Date: 2008/12/06 13:57:17 $
Author:
Edouard De Oliveira

Nested Class Summary
 
Nested classes/interfaces inherited from interface ca.odell.glazedlists.swt.TableItemConfigurer
ca.odell.glazedlists.swt.TableItemConfigurer.DefaultTableItemConfigurer<E>
 
Field Summary
private static org.eclipse.swt.graphics.Image attachedFilesImage
           
private static org.eclipse.swt.graphics.Image flaggedImage
           
private static org.eclipse.swt.graphics.Image unflaggedImage
           
 
Fields inherited from interface ca.odell.glazedlists.swt.TableItemConfigurer
DEFAULT
 
Constructor Summary
SmtpMessageTableItemConfigurer()
           
 
Method Summary
 void configure(org.eclipse.swt.widgets.TableItem item, StoredSmtpMessage rowValue, java.lang.Object columnValue, int row, int column)
           
 org.eclipse.swt.graphics.Image getColumnImage(StoredSmtpMessage stored, int column)
           
 org.eclipse.swt.graphics.Font getFont(StoredSmtpMessage stored)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attachedFilesImage

private static org.eclipse.swt.graphics.Image attachedFilesImage

flaggedImage

private static org.eclipse.swt.graphics.Image flaggedImage

unflaggedImage

private static org.eclipse.swt.graphics.Image unflaggedImage
Constructor Detail

SmtpMessageTableItemConfigurer

public SmtpMessageTableItemConfigurer()
Method Detail

configure

public void configure(org.eclipse.swt.widgets.TableItem item,
                      StoredSmtpMessage rowValue,
                      java.lang.Object columnValue,
                      int row,
                      int column)
Specified by:
configure in interface ca.odell.glazedlists.swt.TableItemConfigurer<StoredSmtpMessage>

getColumnImage

public org.eclipse.swt.graphics.Image getColumnImage(StoredSmtpMessage stored,
                                                     int column)

getFont

public org.eclipse.swt.graphics.Font getFont(StoredSmtpMessage stored)