synergynetframework.awt
Class MultiTouchAWTRobot

java.lang.Object
  extended by synergynetframework.awt.MultiTouchAWTRobot
All Implemented Interfaces:
IMultiTouchEventListener

public class MultiTouchAWTRobot
extends java.lang.Object
implements IMultiTouchEventListener

Experimental class to let a multi-touch cursor control the mouse.

Author:
dcs0ah1

Constructor Summary
MultiTouchAWTRobot(javax.swing.JFrame frame)
          Instantiates a new multi touch awt robot.
 
Method Summary
 void cursorChanged(MultiTouchCursorEvent evt)
          Cursor is on the table, and moves, or rotates, or changes in some way.
 void cursorClicked(MultiTouchCursorEvent evt)
          Cursor clicked.
 void cursorPressed(MultiTouchCursorEvent evt)
          Cursor press arriving on the table.
 void cursorReleased(MultiTouchCursorEvent evt)
          Cursor left the table.
 void objectAdded(MultiTouchObjectEvent arg0)
          Object/fiducial is added to the table.
 void objectChanged(MultiTouchObjectEvent arg0)
          Object/fiducial is changed - position or rotation.
 void objectRemoved(MultiTouchObjectEvent arg0)
          Object/fiducial is removed from the table.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiTouchAWTRobot

public MultiTouchAWTRobot(javax.swing.JFrame frame)
Instantiates a new multi touch awt robot.

Parameters:
frame - the frame
Method Detail

cursorChanged

public void cursorChanged(MultiTouchCursorEvent evt)
Description copied from interface: IMultiTouchEventListener
Cursor is on the table, and moves, or rotates, or changes in some way.

Specified by:
cursorChanged in interface IMultiTouchEventListener
Parameters:
evt - the event

cursorClicked

public void cursorClicked(MultiTouchCursorEvent evt)
Description copied from interface: IMultiTouchEventListener
Cursor clicked. The sensitivity of the clicking detection is the responsibility of the appropriate IMultiTouchInputService. Event order is cursorPressed, cursorReleased, cursorClicked.

Specified by:
cursorClicked in interface IMultiTouchEventListener
Parameters:
evt - the event

cursorPressed

public void cursorPressed(MultiTouchCursorEvent evt)
Description copied from interface: IMultiTouchEventListener
Cursor press arriving on the table.

Specified by:
cursorPressed in interface IMultiTouchEventListener
Parameters:
evt - the event

cursorReleased

public void cursorReleased(MultiTouchCursorEvent evt)
Description copied from interface: IMultiTouchEventListener
Cursor left the table.

Specified by:
cursorReleased in interface IMultiTouchEventListener
Parameters:
evt - the event

objectAdded

public void objectAdded(MultiTouchObjectEvent arg0)
Description copied from interface: IMultiTouchEventListener
Object/fiducial is added to the table.

Specified by:
objectAdded in interface IMultiTouchEventListener
Parameters:
arg0 - the event

objectChanged

public void objectChanged(MultiTouchObjectEvent arg0)
Description copied from interface: IMultiTouchEventListener
Object/fiducial is changed - position or rotation.

Specified by:
objectChanged in interface IMultiTouchEventListener
Parameters:
arg0 - the event

objectRemoved

public void objectRemoved(MultiTouchObjectEvent arg0)
Description copied from interface: IMultiTouchEventListener
Object/fiducial is removed from the table.

Specified by:
objectRemoved in interface IMultiTouchEventListener
Parameters:
arg0 - the event