|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.dtv.ui.UserInputDevice
com.sun.dtv.ui.Keyboard
public class Keyboard
This class represents a keyboard which can be used to control a particular
Screen
as an UserInputDevice
.
Constructor Summary | |
---|---|
protected |
Keyboard()
It should not be possible to create a Keyboard for everybody. |
Method Summary | |
---|---|
UserInputEvent |
getInitiatedEvent(int code)
Implements abstract method UserInputDevice.getInitiatedEvent(int) defined in UserInputDevice . |
boolean |
isSupported(int keyCode)
Indicates whether the specified key code is supported by this particular input device. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Keyboard()
UserInputDevice
, it is bound to a
Screen
.
Method Detail |
---|
public UserInputEvent getInitiatedEvent(int code) throws IllegalArgumentException
UserInputDevice.getInitiatedEvent(int)
defined in UserInputDevice
.
getInitiatedEvent
in class UserInputDevice
code
- the code the input event is initiated for if put in
IllegalArgumentException
- if the specified code is not supported
by this UserInputDevicepublic boolean isSupported(int keyCode)
keyCode
- the key code to be checked
|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |