rcf.system.gui
Class GUIHelpers.WindowCloserFrameworkEventSink

java.lang.Object
  extended by rcf.core.util.groups.ImmutableSingleton<JFrame>
      extended by rcf.system.gui.GUIHelpers.WindowCloserFrameworkEventSink
All Implemented Interfaces:
EventSink<TaskEvent>, ImmutableSingletonInterface<JFrame>
Enclosing class:
GUIHelpers

public static class GUIHelpers.WindowCloserFrameworkEventSink
extends ImmutableSingleton<JFrame>
implements EventSink<TaskEvent>

TODO: Javadoc

TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString

Version:
$Revision: 1.10 $
Author:
Greg Gibeling

Nested Class Summary
 
Nested classes/interfaces inherited from class rcf.core.util.groups.ImmutableSingleton
ImmutableSingleton.Accessor<A>, ImmutableSingleton.Iterable<A>, ImmutableSingleton.Iterator<A>
 
Field Summary
 
Fields inherited from class rcf.core.util.groups.ImmutableSingleton
a
 
Constructor Summary
GUIHelpers.WindowCloserFrameworkEventSink(JFrame _a)
          TODO: Javadoc
 
Method Summary
 boolean event(TaskEvent event)
          Called by an EventSyndicate to notify this sink that an event has occured.
 
Methods inherited from class rcf.core.util.groups.ImmutableSingleton
equals, get, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GUIHelpers.WindowCloserFrameworkEventSink

public GUIHelpers.WindowCloserFrameworkEventSink(JFrame _a)
TODO: Javadoc

Parameters:
_a -
Method Detail

event

public boolean event(TaskEvent event)
Description copied from interface: EventSink
Called by an EventSyndicate to notify this sink that an event has occured.

Specified by:
event in interface EventSink<TaskEvent>
Parameters:
event - The event which has occured.
Returns:
true to keep receiving events from the source of this event. false to stop receiving events from the source of this event.