synergynetframework.mtinput.simulator
Class AbstractDirectMultiTouchSimulator

java.lang.Object
  extended by synergynetframework.mtinput.simulator.AbstractMultiTouchSimulator
      extended by synergynetframework.mtinput.simulator.AbstractDirectMultiTouchSimulator
All Implemented Interfaces:
IMultiTouchInputSource, IMultiTouchSimulator
Direct Known Subclasses:
AWTMouseMultiTouchInput, JMEDirectSimulator

public abstract class AbstractDirectMultiTouchSimulator
extends AbstractMultiTouchSimulator

The Class AbstractDirectMultiTouchSimulator.


Constructor Summary
AbstractDirectMultiTouchSimulator(int tableWidth, int tableHeight)
          Instantiates a new abstract direct multi touch simulator.
 
Method Summary
 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 newCursor(int id, float x, float y)
          New cursor.
 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.
 
Methods inherited from class synergynetframework.mtinput.simulator.AbstractMultiTouchSimulator
clearCursor, getCurrentCursor, getNewCursorID, keyPressed, keyReleased, mouseDragged, mouseMoved, mousePressed, mouseReleased, registerMultiTouchEventListener, registerMultiTouchEventListener, setClickSensitivity, start, stop, unregisterMultiTouchEventListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface synergynetframework.mtinput.IMultiTouchInputSource
update
 

Constructor Detail

AbstractDirectMultiTouchSimulator

public AbstractDirectMultiTouchSimulator(int tableWidth,
                                         int tableHeight)
Instantiates a new abstract direct multi touch simulator.

Parameters:
tableWidth - the table width
tableHeight - the table height
Method Detail

deleteCursor

public void deleteCursor(int id,
                         float x,
                         float y)
Description copied from interface: IMultiTouchSimulator
Delete cursor.

Specified by:
deleteCursor in interface IMultiTouchSimulator
Specified by:
deleteCursor in class AbstractMultiTouchSimulator
Parameters:
id - the id
x - the x
y - the y

deleteTwoCursors

public void deleteTwoCursors(int id1,
                             float x1,
                             float y1,
                             int id2,
                             float x2,
                             float y2)
Description copied from interface: IMultiTouchSimulator
Delete two cursors.

Specified by:
deleteTwoCursors in interface IMultiTouchSimulator
Specified by:
deleteTwoCursors in class AbstractMultiTouchSimulator
Parameters:
id1 - the id1
x1 - the x
y1 - the y
id2 - the id2
x2 - the x2
y2 - the y2

newCursor

public void newCursor(int id,
                      float x,
                      float y)
Description copied from interface: IMultiTouchSimulator
New cursor.

Specified by:
newCursor in interface IMultiTouchSimulator
Specified by:
newCursor in class AbstractMultiTouchSimulator
Parameters:
id - the id
x - the x
y - the y

updateCursor

public void updateCursor(int id,
                         float x,
                         float y)
Description copied from interface: IMultiTouchSimulator
Update cursor.

Specified by:
updateCursor in interface IMultiTouchSimulator
Specified by:
updateCursor in class AbstractMultiTouchSimulator
Parameters:
id - the id
x - the x
y - the y

updateTwoCursors

public void updateTwoCursors(int id1,
                             float x,
                             float y,
                             int id2,
                             float x2,
                             float y2)
Description copied from interface: IMultiTouchSimulator
Update two cursors.

Specified by:
updateTwoCursors in interface IMultiTouchSimulator
Specified by:
updateTwoCursors in class AbstractMultiTouchSimulator
Parameters:
id1 - the id1
x - the x
y - the y
id2 - the id2
x2 - the x2
y2 - the y2