org.datamanager.event
Class DisposeGuiRequestEvent

java.lang.Object
  |
  +--org.datamanager.event.DataManagerEventAdapter
        |
        +--org.datamanager.event.DisposeGuiRequestEvent
All Implemented Interfaces:
DataManagerEvent, EntityValue, RequestEvent, Serializable

public class DisposeGuiRequestEvent
extends DataManagerEventAdapter
implements RequestEvent

This event notifies any interested EventHandlers that the GuiSimpleton creator of the Component within guiComponentInfo would very much like for that GuiComponent to be disposed of. This is necessary as AWT event handlers are currently installed within the GuiSimpleton creator class, not by the GuiCollectorSimpleton that collects these GUI components, and dispose() can only be invoked on top-level windowing components (I think).

Version:
$Revision: 1.3 $
Author:
Team Helium
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.datamanager.event.DataManagerEventAdapter
source, time
 
Constructor Summary
DisposeGuiRequestEvent(EventGenerator source, Component componentToBeDisposed)
           
 
Method Summary
 Component getComponentToBeDisposed()
           
 String toString()
          Report a String representation of the event.
 
Methods inherited from class org.datamanager.event.DataManagerEventAdapter
getSource, getTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.datamanager.event.DataManagerEvent
getSource, getTime
 

Constructor Detail

DisposeGuiRequestEvent

public DisposeGuiRequestEvent(EventGenerator source,
                              Component componentToBeDisposed)
Method Detail

getComponentToBeDisposed

public Component getComponentToBeDisposed()

toString

public String toString()
Description copied from interface: DataManagerEvent
Report a String representation of the event.

Specified by:
toString in interface DataManagerEvent
Specified by:
toString in class DataManagerEventAdapter


See the Helium Website