public abstract class AbstractDeviceMap extends java.lang.Object implements IDeviceMap
DEVICE_MAP_PROPERTY
Constructor and Description |
---|
AbstractDeviceMap() |
Modifier and Type | Method and Description |
---|---|
protected void |
addButton(int buttonCode,
double[] location) |
protected void |
addButton(int buttonCode,
double x,
double y) |
protected void |
addKey(int keyCode,
double[] location) |
protected void |
addKey(int keyCode,
double x,
double y) |
int |
getKey(double[] location)
return the key code corresponding to this location
|
double[] |
getKeyLocation(int keyCode) |
int |
getMouseButton(double[] location)
return the button code corresponding to this location
|
double[] |
getMouseButtonLocation(int buttonCode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKeyCode
protected void addButton(int buttonCode, double x, double y)
protected void addButton(int buttonCode, double[] location)
protected void addKey(int keyCode, double x, double y)
protected void addKey(int keyCode, double[] location)
public int getKey(double[] location)
IDeviceMap
getKey
in interface IDeviceMap
public double[] getKeyLocation(int keyCode)
getKeyLocation
in interface IDeviceMap
public int getMouseButton(double[] location)
IDeviceMap
getMouseButton
in interface IDeviceMap
public double[] getMouseButtonLocation(int buttonCode)
getMouseButtonLocation
in interface IDeviceMap