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.
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