public interface IDeviceMap
extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEVICE_MAP_PROPERTY |
Modifier and Type | Method and Description |
---|---|
int |
getKey(double[] location)
return the key code corresponding to this location
|
int |
getKeyCode(java.lang.String string)
try to convert the string into a keystroke.
|
double[] |
getKeyLocation(int keyCode) |
int |
getMouseButton(double[] location)
return the button code corresponding to this location
|
double[] |
getMouseButtonLocation(int buttonCode) |
static final java.lang.String DEVICE_MAP_PROPERTY
int getKey(double[] location)
location
- java.lang.IllegalArgumentException
int getMouseButton(double[] location)
location
- java.lang.IllegalArgumentException
double[] getKeyLocation(int keyCode)
double[] getMouseButtonLocation(int buttonCode)
int getKeyCode(java.lang.String string)
string
-