|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.mtinput.simulator.AbstractSimCursor
synergynetframework.mtinput.simulator.SingleFingerSimCursor
public class SingleFingerSimCursor
The Class SingleFingerSimCursor.
| Field Summary |
|---|
| Fields inherited from class synergynetframework.mtinput.simulator.AbstractSimCursor |
|---|
KEY_CONTROL, KEY_SHIFT, KEY_SPACE, MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE, MOUSE_BUTTON_RIGHT |
| Constructor Summary | |
|---|---|
SingleFingerSimCursor(IMultiTouchSimulator simulator,
int id,
int screenWidth,
int screenHeight)
Instantiates a new single finger sim cursor. |
|
| Method Summary | |
|---|---|
int |
getMouseX()
Gets the mouse x. |
int |
getMouseY()
Gets the mouse y. |
float |
getX()
Gets the x. |
float |
getY()
Gets the y. |
void |
keyPressed(java.lang.String key)
Key pressed. |
void |
keyReleased(java.lang.String key)
Key released. |
void |
mouseDragged(int x,
int y,
int buttonNumber)
Mouse dragged. |
void |
mouseMoved(int x,
int y)
Mouse moved. |
void |
mousePressed(int x,
int y,
int button)
Mouse pressed. |
void |
mouseReleased(int x,
int y,
int button)
Mouse released. |
| Methods inherited from class synergynetframework.mtinput.simulator.AbstractSimCursor |
|---|
getScaledX, getScaledY |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleFingerSimCursor(IMultiTouchSimulator simulator,
int id,
int screenWidth,
int screenHeight)
simulator - the simulatorid - the idscreenWidth - the screen widthscreenHeight - the screen height| Method Detail |
|---|
public int getMouseX()
public int getMouseY()
public float getX()
public float getY()
public void keyPressed(java.lang.String key)
AbstractSimCursor
keyPressed in class AbstractSimCursorkey - the keypublic void keyReleased(java.lang.String key)
AbstractSimCursor
keyReleased in class AbstractSimCursorkey - the key
public void mouseDragged(int x,
int y,
int buttonNumber)
AbstractSimCursor
mouseDragged in class AbstractSimCursorx - the xy - the ybuttonNumber - the button number
public void mouseMoved(int x,
int y)
AbstractSimCursor
mouseMoved in class AbstractSimCursorx - the xy - the y
public void mousePressed(int x,
int y,
int button)
AbstractSimCursor
mousePressed in class AbstractSimCursorx - the xy - the ybutton - the button number
public void mouseReleased(int x,
int y,
int button)
AbstractSimCursor
mouseReleased in class AbstractSimCursorx - the xy - the ybutton - the button number
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||