|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
public interface TuioListener
The TuioListener interface provides a simple callback infrastructure which is used by the TuioProcessor class
to dispatch TUIO events to all registered instances of classes that implement the TuioListener interface defined here.
Any class that implements the TuioListener interface is required to implement all of the callback methods defined here.
| Method Summary | |
|---|---|
void |
addTuioCursor(AbstractTuioCursor tcur)
This callback method is invoked by the TuioClient when a new TuioCursor is added to the session. |
void |
addTuioObject(AbstractTuioObject tobj)
This callback method is invoked by the TuioClient when a new TuioObject is added to the session. |
void |
refresh(TuioTime ftime)
This callback method is invoked by the TuioClient to mark the end of a received TUIO message bundle. |
void |
removeTuioCursor(AbstractTuioCursor tcur)
This callback method is invoked by the TuioClient when an existing TuioCursor is removed from the session. |
void |
removeTuioObject(AbstractTuioObject tobj)
This callback method is invoked by the TuioClient when an existing TuioObject is removed from the session. |
void |
updateTuioCursor(AbstractTuioCursor tcur)
This callback method is invoked by the TuioClient when an existing TuioCursor is updated during the session. |
void |
updateTuioObject(AbstractTuioObject tobj)
This callback method is invoked by the TuioClient when an existing TuioObject is updated during the session. |
| Method Detail |
|---|
void addTuioObject(AbstractTuioObject tobj)
tobj - the TuioObject reference associated to the addTuioObject eventvoid updateTuioObject(AbstractTuioObject tobj)
tobj - the TuioObject reference associated to the updateTuioObject eventvoid removeTuioObject(AbstractTuioObject tobj)
tobj - the TuioObject reference associated to the removeTuioObject eventvoid addTuioCursor(AbstractTuioCursor tcur)
tcur - the TuioCursor reference associated to the addTuioCursor eventvoid updateTuioCursor(AbstractTuioCursor tcur)
tcur - the TuioCursor reference associated to the updateTuioCursor eventvoid removeTuioCursor(AbstractTuioCursor tcur)
tcur - the TuioCursor reference associated to the removeTuioCursor eventvoid refresh(TuioTime ftime)
ftime - the TuioTime associated to the current TUIO message bundle
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||