public class HKeyCapabilities extends Object
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. | |||
| Modifier | Constructor and Description |
|---|---|
protected |
HKeyCapabilities()
An interoperable application shall not subclass the
HKeyCapabilities class.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getInputDeviceSupported()
Determine if keyboard input functionality exists in the
system.
|
static boolean |
isSupported(int keycode)
Queries whether the system keyboard can generate an event of
the given type.
|
protected HKeyCapabilities()
Creates an HKeyCapabilities 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.
public static boolean getInputDeviceSupported()
HRcCapabilities.getInputDeviceSupported()public static boolean isSupported(int keycode)
keycode - the keycode to query e.g. VK_SPACEHRcCapabilities.isSupported(int)Copyright © 2012 code4tv.com. All Rights Reserved.