|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.mtinput.luminja.LuminMultiTouchInput
public class LuminMultiTouchInput
Support for the Lumin multi-touch table. This implementation currently only supports cursor information - it does not support objects/fiducials.
Constructor Summary | |
---|---|
LuminMultiTouchInput()
Instantiates a new lumin multi touch input. |
Method Summary | |
---|---|
void |
registerMultiTouchEventListener(IMultiTouchEventListener listener)
Register the listener to receive multi-touch events, as defined in IMultiTouchInputListener. |
void |
registerMultiTouchEventListener(IMultiTouchEventListener listener,
int index)
Register multi touch event listener. |
void |
setClickSensitivity(long time,
float distance)
Determines whether two successive cursor add/remove events constitute a 'click'. |
void |
setSamePositionTolerance(float samePositionTolerance)
Sets the same position tolerance. |
void |
unregisterMultiTouchEventListener(IMultiTouchEventListener listener)
Stops the listener from receiving multi-touch events. |
void |
update(float tpf)
Update. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LuminMultiTouchInput()
Method Detail |
---|
public void registerMultiTouchEventListener(IMultiTouchEventListener listener)
IMultiTouchInputSource
registerMultiTouchEventListener
in interface IMultiTouchInputSource
listener
- the listenerpublic void registerMultiTouchEventListener(IMultiTouchEventListener listener, int index)
IMultiTouchInputSource
registerMultiTouchEventListener
in interface IMultiTouchInputSource
listener
- the listenerindex
- the indexpublic void setClickSensitivity(long time, float distance)
IMultiTouchInputSource
setClickSensitivity
in interface IMultiTouchInputSource
time
- in millisecondsdistance
- in coordinate spacepublic void setSamePositionTolerance(float samePositionTolerance)
samePositionTolerance
- the new same position tolerancepublic void unregisterMultiTouchEventListener(IMultiTouchEventListener listener)
IMultiTouchInputSource
unregisterMultiTouchEventListener
in interface IMultiTouchInputSource
listener
- the listenerpublic void update(float tpf) throws MultiTouchInputException
IMultiTouchInputSource
update
in interface IMultiTouchInputSource
tpf
- the tpf
MultiTouchInputException
- the multi touch input exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |