|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.havi.ui.event.HKeyCapabilities
org.havi.ui.event.HRcCapabilities
public class HRcCapabilities
This class is used to describe the (basic) remote control capabilities of the platform.
This class is not intended to be constructed by applications.
Parameter | Description | Default value | Set method | Get method |
---|---|---|---|---|
None. |
Description | Default value | Set method | Get method |
---|---|---|---|
None. |
Constructor Summary | |
---|---|
protected |
HRcCapabilities()
An interoperable application shall not subclass the HRcCapabilities class. |
Method Summary | |
---|---|
static boolean |
getInputDeviceSupported()
Determine if a physical remote control exists in the system. |
static HEventRepresentation |
getRepresentation(int aCode)
Get the HEventRepresentation object for a
specified key event keyCode . |
static boolean |
isSupported(int keycode)
Queries whether the remote control can directly generate an event of the given type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected HRcCapabilities()
Creates an HRcCapabilities
object. See the class description for details
of constructor parameters and default values.
This method is protected to allow the platform to override it in a different package scope.
Method Detail |
---|
public static HEventRepresentation getRepresentation(int aCode)
HEventRepresentation
object for a
specified key event keyCode
.
aCode
- the key event keyCode
for which the
HEventRepresentation
should be returned.
HEventRepresentation
object for the specified key event keyCode
, or
null
if there is no valid representation available.public static boolean getInputDeviceSupported()
HKeyCapabilities.getInputDeviceSupported()
public static boolean isSupported(int keycode)
keycode
- the keycode to query e.g. VK_SPACE
HKeyCapabilities.isSupported(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |