public abstract class AbstractSimCursor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY_CONTROL
The Constant KEY_CONTROL.
|
static java.lang.String |
KEY_SHIFT
The Constant KEY_SHIFT.
|
static java.lang.String |
KEY_SPACE
The Constant KEY_SPACE.
|
static int |
MOUSE_BUTTON_LEFT
The Constant MOUSE_BUTTON_LEFT.
|
static int |
MOUSE_BUTTON_MIDDLE
The Constant MOUSE_BUTTON_MIDDLE.
|
static int |
MOUSE_BUTTON_RIGHT
The Constant MOUSE_BUTTON_RIGHT.
|
| Constructor and Description |
|---|
AbstractSimCursor() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
keyPressed(java.lang.String key)
Key pressed.
|
abstract void |
keyReleased(java.lang.String key)
Key released.
|
abstract void |
mouseDragged(float x,
float y,
int buttonNumber)
Mouse dragged.
|
abstract void |
mouseMoved(float x,
float y)
Mouse moved.
|
abstract void |
mousePressed(float x,
float y,
int buttonNumber)
Mouse pressed.
|
abstract void |
mouseReleased(float x,
float y,
int buttonNumber)
Mouse released.
|
public static final java.lang.String KEY_CONTROL
public static final java.lang.String KEY_SHIFT
public static final java.lang.String KEY_SPACE
public static final int MOUSE_BUTTON_LEFT
public static final int MOUSE_BUTTON_MIDDLE
public static final int MOUSE_BUTTON_RIGHT
public abstract void keyPressed(java.lang.String key)
key - the keypublic abstract void keyReleased(java.lang.String key)
key - the keypublic abstract void mouseDragged(float x,
float y,
int buttonNumber)
x - the xy - the ybuttonNumber - the button numberpublic abstract void mouseMoved(float x,
float y)
x - the xy - the ypublic abstract void mousePressed(float x,
float y,
int buttonNumber)
x - the xy - the ybuttonNumber - the button numberpublic abstract void mouseReleased(float x,
float y,
int buttonNumber)
x - the xy - the ybuttonNumber - the button number