spin.off
Class AWTReflectDispatcherFactory

java.lang.Object
  extended by spin.off.AWTReflectDispatcherFactory
All Implemented Interfaces:
DispatcherFactory

public class AWTReflectDispatcherFactory
extends java.lang.Object
implements DispatcherFactory

A factory of Dispatchers which uses reflection to AWT internals to dispatch events - used as default by Spin for spin-off.
Once Swing offers an official way to start an event pump this class should be replaced by a less intrusive solution.


Constructor Summary
AWTReflectDispatcherFactory()
           
 
Method Summary
 Dispatcher createDispatcher()
          Create a dispatcher for events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWTReflectDispatcherFactory

public AWTReflectDispatcherFactory()
Method Detail

createDispatcher

public Dispatcher createDispatcher()
Create a dispatcher for events.

Specified by:
createDispatcher in interface DispatcherFactory
Returns:
dispatcher that does the actual dispatching


Copyright © 2007. All Rights Reserved.