|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.mtinput.LongHoldDetector
public class LongHoldDetector
The Class LongHoldDetector.
| Constructor Summary | |
|---|---|
LongHoldDetector(long time,
float distance,
java.util.List<ItemListener> itemListeners,
ContentItem item)
Instantiates a new long hold detector. |
|
| Method Summary | |
|---|---|
float |
getDistanceSensitivity()
Gets the distance sensitivity. |
long |
getTimeSensitivity()
Gets the time sensitivity. |
void |
registerCursor(long id,
java.awt.geom.Point2D.Float position)
Register cursor. |
void |
setSensitivity(long time,
float distance)
Sets the sensitivity. |
void |
unregisterCursor(long id)
Unregister cursor. |
void |
update(float tpf)
Update. |
void |
updateCursorPostion(long id,
java.awt.geom.Point2D.Float position)
Update cursor postion. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LongHoldDetector(long time,
float distance,
java.util.List<ItemListener> itemListeners,
ContentItem item)
time - the timedistance - the distanceitemListeners - the item listenersitem - the item| Method Detail |
|---|
public float getDistanceSensitivity()
public long getTimeSensitivity()
public void registerCursor(long id,
java.awt.geom.Point2D.Float position)
id - the idposition - the position
public void setSensitivity(long time,
float distance)
time - the timedistance - the distancepublic void unregisterCursor(long id)
id - the idpublic void update(float tpf)
tpf - the tpf
public void updateCursorPostion(long id,
java.awt.geom.Point2D.Float position)
id - the idposition - the position
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||