org.datamanager.simpleton
Class EntityViewerSimpleton

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

public class EntityViewerSimpleton
extends Simpleton
implements EventHandler

Providesa a JTree view of the Entities in the pool and each Entity's value and attributes.

Author:
Xi Rao

Nested Class Summary
 
Nested classes inherited from class org.datamanager.kernel.Simpleton
Simpleton.Information, Simpleton.Priority
 
Constructor Summary
EntityViewerSimpleton()
           
 
Method Summary
 void handle(DataManagerEvent dataManagerEvent)
          Handle a DataManagerEvent that has been fired.
 void process()
          Subscribes this Simpleton to all AddEntityPoolEvents, then builds the GUI.
 
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

EntityViewerSimpleton

public EntityViewerSimpleton()
Method Detail

process

public void process()
Subscribes this Simpleton to all AddEntityPoolEvents, then builds the GUI.

Specified by:
process in class Simpleton

handle

public void handle(DataManagerEvent dataManagerEvent)
Description copied from interface: EventHandler
Handle a DataManagerEvent that has been fired.

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


See the Helium Website