org.jagatoo.input.impl.swt
Class SWTInputDeviceFactory

java.lang.Object
  extended by org.jagatoo.input.devices.InputDeviceFactory
      extended by org.jagatoo.input.impl.swt.SWTInputDeviceFactory
All Implemented Interfaces:
ControllerFactory, KeyboardFactory, MouseFactory

public class SWTInputDeviceFactory
extends InputDeviceFactory

Insert type comment here.


Constructor Summary
SWTInputDeviceFactory(InputDeviceFactory masterFactory, InputSourceWindow sourceWindow, EventQueue eventQueue)
           
SWTInputDeviceFactory(InputSourceWindow sourceWindow, EventQueue eventQueue)
           
 
Method Summary
protected  void destroyImpl(InputSystem inputSystem)
          
protected  Controller[] initControllers()
          
protected  SWTKeyboard[] initKeyboards()
          
protected  SWTMouse[] initMouses()
          
 
Methods inherited from class org.jagatoo.input.devices.InputDeviceFactory
destroy, findSourceFactory, flushCache, flushCache, getCachedControllers, getCachedKeyboards, getCachedMouses, getControllers, getControllers, getEveneQueue, getKeyboards, getKeyboards, getMasterFactory, getMouses, getMouses, getSourceWindow, initControllers, initKeyboards, initMouses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWTInputDeviceFactory

public SWTInputDeviceFactory(InputDeviceFactory masterFactory,
                             InputSourceWindow sourceWindow,
                             EventQueue eventQueue)

SWTInputDeviceFactory

public SWTInputDeviceFactory(InputSourceWindow sourceWindow,
                             EventQueue eventQueue)
Method Detail

initMouses

protected SWTMouse[] initMouses()
                         throws InputSystemException

Specified by:
initMouses in class InputDeviceFactory
Returns:
an array of all the installed Mouses in the system.
Throws:
InputSystemException

initKeyboards

protected SWTKeyboard[] initKeyboards()
                               throws InputSystemException

Specified by:
initKeyboards in class InputDeviceFactory
Returns:
an array of all the installed Keyboards in the system.
Throws:
InputSystemException

initControllers

protected Controller[] initControllers()
                                throws InputSystemException

Specified by:
initControllers in class InputDeviceFactory
Returns:
an array of all the installed Controllers in the system.
Throws:
InputSystemException

destroyImpl

protected void destroyImpl(InputSystem inputSystem)
                    throws InputSystemException

Specified by:
destroyImpl in class InputDeviceFactory
Throws:
InputSystemException