public class JMETUIOSimulator extends AbstractMultiTouchSimulator
| Constructor and Description |
|---|
JMETUIOSimulator() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteCursor(int id,
float x,
float y)
Delete cursor.
|
void |
deleteTwoCursors(int id1,
float x1,
float y1,
int id2,
float x2,
float y2)
Delete two cursors.
|
void |
endListening()
Stop the listener from running
|
void |
newCursor(int id,
float x,
float y)
New cursor.
|
boolean |
requiresMouseDisplay()
Should the mouse be shown or hidden?
|
void |
start()
Start.
|
void |
stop()
Stop.
|
void |
update(float tpf)
Some sources run in a separate thread.
|
void |
updateCursor(int id,
float x,
float y)
Update cursor.
|
void |
updateTwoCursors(int id1,
float x,
float y,
int id2,
float x2,
float y2)
Update two cursors.
|
clearCursor, getCurrentCursor, getNewCursorID, keyPressed, keyReleased, mouseDragged, mouseMoved, mousePressed, mouseReleased, registerMultiTouchEventListener, registerMultiTouchEventListener, setClickSensitivity, unregisterMultiTouchEventListenerpublic void deleteCursor(int id,
float x,
float y)
IMultiTouchSimulatordeleteCursor in interface IMultiTouchSimulatordeleteCursor in class AbstractMultiTouchSimulatorid - the idx - the xy - the ypublic void deleteTwoCursors(int id1,
float x1,
float y1,
int id2,
float x2,
float y2)
IMultiTouchSimulatordeleteTwoCursors in interface IMultiTouchSimulatordeleteTwoCursors in class AbstractMultiTouchSimulatorid1 - the id1x1 - the xy1 - the yid2 - the id2x2 - the x2y2 - the y2public void endListening()
IMultiTouchInputSourcepublic void newCursor(int id,
float x,
float y)
IMultiTouchSimulatornewCursor in interface IMultiTouchSimulatornewCursor in class AbstractMultiTouchSimulatorid - the idx - the xy - the ypublic boolean requiresMouseDisplay()
IMultiTouchInputSourcepublic void start()
public void stop()
public void update(float tpf)
IMultiTouchInputSourcepublic void updateCursor(int id,
float x,
float y)
IMultiTouchSimulatorupdateCursor in interface IMultiTouchSimulatorupdateCursor in class AbstractMultiTouchSimulatorid - the idx - the xy - the ypublic void updateTwoCursors(int id1,
float x,
float y,
int id2,
float x2,
float y2)
IMultiTouchSimulatorupdateTwoCursors in interface IMultiTouchSimulatorupdateTwoCursors in class AbstractMultiTouchSimulatorid1 - the id1x - the xy - the yid2 - the id2x2 - the x2y2 - the y2