Package spin.off
Class AWTReflectDispatcherFactory
- java.lang.Object
-
- spin.off.AWTReflectDispatcherFactory
-
- All Implemented Interfaces:
DispatcherFactory
public class AWTReflectDispatcherFactory extends java.lang.Object implements DispatcherFactory
A factory ofDispatcher
s 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
Constructors Constructor Description AWTReflectDispatcherFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dispatcher
createDispatcher()
Create a dispatcher for events.
-
-
-
Method Detail
-
createDispatcher
public Dispatcher createDispatcher()
Create a dispatcher for events.- Specified by:
createDispatcher
in interfaceDispatcherFactory
- Returns:
- dispatcher that does the actual dispatching
-
-