|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMultiTouchInputSource
Generic type for multi-touch input services. Allows for the registration and de-registration of listeners to multi-touch events, as defined in IMultiTouchInputListener. Has the capability of setting a coordinate system, and determining the sensitivity of clicking behaviour. Services must be started, and/or stopped.
| 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 |
unregisterMultiTouchEventListener(IMultiTouchEventListener listener)
Stops the listener from receiving multi-touch events. |
void |
update(float tpf)
Update. |
| Method Detail |
|---|
void registerMultiTouchEventListener(IMultiTouchEventListener listener)
listener - the listener
void registerMultiTouchEventListener(IMultiTouchEventListener listener,
int index)
listener - the listenerindex - the index
void setClickSensitivity(long time,
float distance)
time - in millisecondsdistance - in coordinate spacevoid unregisterMultiTouchEventListener(IMultiTouchEventListener listener)
listener - the listener
void update(float tpf)
throws MultiTouchInputException
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 | |||||||||