|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.mtinput.events.MultiTouchEvent
public abstract class MultiTouchEvent
Base class for multi-touch cursor events 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.
Constructor Summary | |
---|---|
MultiTouchEvent(long id,
java.awt.geom.Point2D.Float position)
Instantiates a new multi touch event. |
|
MultiTouchEvent(long id,
java.awt.geom.Point2D.Float position,
java.awt.geom.Point2D.Float velocity)
Instantiates a new multi touch event. |
|
MultiTouchEvent(long id,
java.awt.geom.Point2D.Float position,
java.awt.geom.Point2D.Float velocity,
float pressure,
double angle)
Instantiates a new multi touch event. |
Method Summary | |
---|---|
double |
getAngle()
Gets the angle. |
long |
getCursorID()
Gets the cursor id. |
java.awt.geom.Point2D.Float |
getPosition()
Position in the coordinate system of the table. |
float |
getPressure()
Gets the pressure. |
long |
getTimeOfCreationNanos()
Gets the time of creation nanos. |
java.awt.geom.Point2D.Float |
getVelocity()
Gets the velocity. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MultiTouchEvent(long id, java.awt.geom.Point2D.Float position)
id
- the idposition
- the positionpublic MultiTouchEvent(long id, java.awt.geom.Point2D.Float position, java.awt.geom.Point2D.Float velocity)
id
- the idposition
- the positionvelocity
- the velocitypublic MultiTouchEvent(long id, java.awt.geom.Point2D.Float position, java.awt.geom.Point2D.Float velocity, float pressure, double angle)
id
- the idposition
- the positionvelocity
- the velocitypressure
- the pressureangle
- the angleMethod Detail |
---|
public double getAngle()
public long getCursorID()
public java.awt.geom.Point2D.Float getPosition()
public float getPressure()
public long getTimeOfCreationNanos()
public java.awt.geom.Point2D.Float getVelocity()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |