synergynetframework.mtinput.events
Class MultiTouchCursorEvent

java.lang.Object
  extended by synergynetframework.mtinput.events.MultiTouchEvent
      extended by synergynetframework.mtinput.events.MultiTouchCursorEvent

public class MultiTouchCursorEvent
extends MultiTouchEvent

A multi touch cursor event whose coordinate system is based on the input service that created it, and its mode. Supports position, rotation, velocity and pressure, although this values will only be present for tables that provide that information.

Author:
dcs0ah1

Constructor Summary
MultiTouchCursorEvent(long id, java.awt.geom.Point2D.Float position)
          Instantiates a new multi touch cursor event.
MultiTouchCursorEvent(long id, java.awt.geom.Point2D.Float position, java.awt.geom.Point2D.Float velocity)
          Instantiates a new multi touch cursor event.
MultiTouchCursorEvent(long id, java.awt.geom.Point2D.Float position, java.awt.geom.Point2D.Float velocity, float pressure, double angle)
          Instantiates a new multi touch cursor event.
 
Method Summary
 int getClickCount()
          Gets the click count.
 void setClickCount(int clickCount)
          Sets the click count.
 java.lang.String toString()
           
 
Methods inherited from class synergynetframework.mtinput.events.MultiTouchEvent
getAngle, getCursorID, getPosition, getPressure, getTimeOfCreationNanos, getVelocity
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiTouchCursorEvent

public MultiTouchCursorEvent(long id,
                             java.awt.geom.Point2D.Float position)
Instantiates a new multi touch cursor event.

Parameters:
id - the id
position - the position

MultiTouchCursorEvent

public MultiTouchCursorEvent(long id,
                             java.awt.geom.Point2D.Float position,
                             java.awt.geom.Point2D.Float velocity)
Instantiates a new multi touch cursor event.

Parameters:
id - the id
position - the position
velocity - the velocity

MultiTouchCursorEvent

public MultiTouchCursorEvent(long id,
                             java.awt.geom.Point2D.Float position,
                             java.awt.geom.Point2D.Float velocity,
                             float pressure,
                             double angle)
Instantiates a new multi touch cursor event.

Parameters:
id - the id
position - the position
velocity - the velocity
pressure - the pressure
angle - the angle
Method Detail

getClickCount

public int getClickCount()
Gets the click count.

Returns:
the click count

setClickCount

public void setClickCount(int clickCount)
Sets the click count.

Parameters:
clickCount - the new click count

toString

public java.lang.String toString()
Overrides:
toString in class MultiTouchEvent