|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.mtinput.simulator.AbstractSimCursor
public abstract class AbstractSimCursor
The Class AbstractSimCursor.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
AbstractSimCursor()
|
|
| Method Summary | |
|---|---|
static float |
getScaledX(int x,
int width)
Gets the scaled x. |
static float |
getScaledY(int y,
int height)
Gets the scaled y. |
abstract void |
keyPressed(java.lang.String key)
Key pressed. |
abstract void |
keyReleased(java.lang.String key)
Key released. |
abstract void |
mouseDragged(int x,
int y,
int buttonNumber)
Mouse dragged. |
abstract void |
mouseMoved(int x,
int y)
Mouse moved. |
abstract void |
mousePressed(int x,
int y,
int buttonNumber)
Mouse pressed. |
abstract void |
mouseReleased(int x,
int y,
int buttonNumber)
Mouse released. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public AbstractSimCursor()
| Method Detail |
|---|
public static float getScaledX(int x,
int width)
x - the xwidth - the width
public static float getScaledY(int y,
int height)
y - the yheight - the height
public abstract void keyPressed(java.lang.String key)
key - the keypublic abstract void keyReleased(java.lang.String key)
key - the key
public abstract void mouseDragged(int x,
int y,
int buttonNumber)
x - the xy - the ybuttonNumber - the button number
public abstract void mouseMoved(int x,
int y)
x - the xy - the y
public abstract void mousePressed(int x,
int y,
int buttonNumber)
x - the xy - the ybuttonNumber - the button number
public abstract void mouseReleased(int x,
int y,
int buttonNumber)
x - the xy - the ybuttonNumber - the button number
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||