|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExternalEventAdapter
ExternalEventAdapter is an adapter between the underlying event model and the EAI or SAI callbacks. The particular details are handled by the appropriate implementing classes.
The purpose of having this interface is to support having the event changed callbacks occuring in the same thread as the event model, or occuring outside the event model's thread.
| Method Summary | |
|---|---|
void |
addListener(int fieldID,
java.lang.Object listener)
Add a listener for one of the fields of this node. |
void |
generateBroadcast(int fieldID,
double timestamp)
Broadcast an eventOutChanged event for a given field. |
void |
removeListener(int fieldID,
java.lang.Object listener)
Remove a listener for one of the fields of this node. |
| Method Detail |
|---|
void addListener(int fieldID,
java.lang.Object listener)
fieldID - The ID of the field.listener - The listener to add.
void generateBroadcast(int fieldID,
double timestamp)
fieldID - The field which changed.timestamp - When the change occurred.
void removeListener(int fieldID,
java.lang.Object listener)
fieldID - The ID of the field.listener - The listener to remove.
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||