org.datamanager.simpleton
Class BasicEmailViewerSimpleton

java.lang.Object
  |
  +--org.datamanager.kernel.Simpleton
        |
        +--org.datamanager.kernel.GuiSimpleton
              |
              +--org.datamanager.simpleton.BasicEmailViewerSimpleton
All Implemented Interfaces:
EventHandler

public class BasicEmailViewerSimpleton
extends GuiSimpleton
implements EventHandler

Provides a basic email viewing interface.

Version:
$Revision: 1.27 $
Author:
Matt Liggett

Nested Class Summary
 
Nested classes inherited from class org.datamanager.kernel.Simpleton
Simpleton.Information, Simpleton.Priority
 
Constructor Summary
BasicEmailViewerSimpleton()
           
 
Method Summary
 void handle(DataManagerEvent dataManagerEvent)
          Adds a new email message (specified inside the AddEntityPoolEvent) to the list model.
 void process()
          Builds and displays the GUI, subscribes this Simpleton to events indicating new email messages, and searches the Pool for any existing email messages.
 
Methods inherited from class org.datamanager.kernel.GuiSimpleton
dispose, exportComponent, exportComponent
 
Methods inherited from class org.datamanager.kernel.Simpleton
clone, getInformation, getPriority, setInformation, setPriority, start
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicEmailViewerSimpleton

public BasicEmailViewerSimpleton()
Method Detail

process

public void process()
Builds and displays the GUI, subscribes this Simpleton to events indicating new email messages, and searches the Pool for any existing email messages.

Specified by:
process in class Simpleton

handle

public void handle(DataManagerEvent dataManagerEvent)
Adds a new email message (specified inside the AddEntityPoolEvent) to the list model.

Specified by:
handle in interface EventHandler
Parameters:
dataManagerEvent - The event to handle.


See the Helium Website