spin.off

Class AWTReflectDispatcherFactory

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.

Method Summary

Dispatcher
createDispatcher()
Create a dispatcher for events.

Method Details

createDispatcher

public Dispatcher createDispatcher()
Create a dispatcher for events.
Specified by:
createDispatcher in interface DispatcherFactory
Returns:
dispatcher that does the actual dispatching