org.jagatoo.input.devices
Interface MouseFactory

All Known Implementing Classes:
AWTInputDeviceFactory, AWTJInputInputDeviceFactory, InputDeviceFactory, JInputInputDeviceFactory, LWJGLInputDeviceFactory, LWJGLJInputInputDeviceFactory, SWTInputDeviceFactory

public interface MouseFactory

A MouseFactory is a simple factory to access all Mouses available on the system.


Method Summary
 void destroy(InputSystem inputSystem)
          This method is called by the InputSystem when it gets destroyed.
 Mouse[] getMouses()
           
 Mouse[] getMouses(boolean forceRefresh)
           
 

Method Detail

getMouses

Mouse[] getMouses(boolean forceRefresh)
                  throws InputSystemException
Parameters:
forceRefresh - if true, the list of available devices is refreshed from the system.
Returns:
an array of all the installed Mouses in the system.
Throws:
InputSystemException

getMouses

Mouse[] getMouses()
                  throws InputSystemException
Returns:
an array of all the installed Mouses in the system. (This method doesn't force a refresh!)
Throws:
InputSystemException

destroy

void destroy(InputSystem inputSystem)
             throws InputSystemException
This method is called by the InputSystem when it gets destroyed.

Parameters:
inputSystem -
Throws:
InputSystemException