org.jagatoo.input.impl.lwjgl
Class LWJGLInputDeviceFactory

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

public class LWJGLInputDeviceFactory
extends InputDeviceFactory

Insert type comment here.


Constructor Summary
LWJGLInputDeviceFactory(InputDeviceFactory masterFactory, InputSourceWindow sourceWindow, EventQueue eventQueue)
           
LWJGLInputDeviceFactory(InputSourceWindow sourceWindow, EventQueue eventQueue)
           
 
Method Summary
protected  void destroyImpl(InputSystem inputSystem)
          
protected  LWJGLController[] initControllers()
          
protected  LWJGLKeyboard[] initKeyboards()
          
protected  LWJGLMouse[] 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

LWJGLInputDeviceFactory

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

LWJGLInputDeviceFactory

public LWJGLInputDeviceFactory(InputSourceWindow sourceWindow,
                               EventQueue eventQueue)
Method Detail

initMouses

protected LWJGLMouse[] initMouses()
                           throws InputSystemException

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

initKeyboards

protected LWJGLKeyboard[] initKeyboards()
                                 throws InputSystemException

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

initControllers

protected LWJGLController[] 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