org.jagatoo.input.devices
Interface KeyboardFactory
- All Known Implementing Classes:
- AWTInputDeviceFactory, AWTJInputInputDeviceFactory, InputDeviceFactory, JInputInputDeviceFactory, LWJGLInputDeviceFactory, LWJGLJInputInputDeviceFactory, SWTInputDeviceFactory
public interface KeyboardFactory
A KeyboardFactory is a simple factory to access all Keyboards
available on the system.
getKeyboards
Keyboard[] getKeyboards(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 Keyboards in the system.
- Throws:
InputSystemException
getKeyboards
Keyboard[] getKeyboards()
throws InputSystemException
- Returns:
- an array of all the installed Keyboards 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