|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.mtinput.dataplayback.DataPlaybackInput
public class DataPlaybackInput
The Class DataPlaybackInput.
Constructor Summary | |
---|---|
DataPlaybackInput()
Instantiates a new data playback 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 |
setInputStream(java.io.InputStream is)
Sets the input stream. |
void |
start()
Start. |
void |
stop()
Stop. |
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 DataPlaybackInput()
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 setInputStream(java.io.InputStream is)
is
- the new input streampublic void start()
public void stop()
public void unregisterMultiTouchEventListener(IMultiTouchEventListener listener)
IMultiTouchInputSource
unregisterMultiTouchEventListener
in interface IMultiTouchInputSource
listener
- the listenerpublic void update(float tpf)
IMultiTouchInputSource
update
in interface IMultiTouchInputSource
tpf
- the tpf
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |