|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.util.keybd.Keyboard
public class Keyboard
Provides access to the native operating system's auto-repeat keyboard settings.
| Field Summary | |
|---|---|
protected static boolean |
_haveLib
Whether the keyboard native library was successfully loaded. |
| Constructor Summary | |
|---|---|
Keyboard()
|
|
| Method Summary | |
|---|---|
protected static boolean |
init()
Initializes the library and returns true if it successfully did so. |
static boolean |
isAvailable()
Returns whether the native keyboard interface is available. |
static boolean |
isKeyRepeatEnabled()
Returns whether key auto-repeating is enabled. |
static void |
main(String[] args)
Tests keyboard functionality. |
static void |
setKeyRepeat(boolean enabled)
Sets whether key auto-repeating is enabled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static boolean _haveLib
| Constructor Detail |
|---|
public Keyboard()
| Method Detail |
|---|
public static void setKeyRepeat(boolean enabled)
public static boolean isKeyRepeatEnabled()
public static void main(String[] args)
public static boolean isAvailable()
protected static boolean init()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||