|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.mtinput.events.MultiTouchEvent
synergynetframework.mtinput.events.MultiTouchCursorEvent
public class MultiTouchCursorEvent
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.
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 |
---|
public MultiTouchCursorEvent(long id, java.awt.geom.Point2D.Float position)
id
- the idposition
- the positionpublic MultiTouchCursorEvent(long id, java.awt.geom.Point2D.Float position, java.awt.geom.Point2D.Float velocity)
id
- the idposition
- the positionvelocity
- the velocitypublic MultiTouchCursorEvent(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 int getClickCount()
public void setClickCount(int clickCount)
clickCount
- the new click countpublic java.lang.String toString()
toString
in class MultiTouchEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |