|
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 FieldAccessListener
Internal listener for allowing a SAI field wrapper class to callback to the containing script wrapper to modify the field access notification.
This interface is to solve the problem of users directly adding field listeners to external nodes other than the script's own fields. In this case the nodes are generating their field event to the listener which is then being directly translated into the X3DFieldEventListener callback. Users are allowed to directly interact with other fields at this point, not just the field that generated this event. To allow access to these other fields, the field itself (represented by BaseField) has to tell "the system" that access is currently valid. This is the callback that goes from that field wrapper directly to the ScriptWrapper so that it can iterate through everything and allow direct access.
| Method Summary | |
|---|---|
void |
childRequiresAccessStateChange(boolean state)
Notify that the child field now requires access to be valid or not valid as the case may be from the various flags. |
| Method Detail |
|---|
void childRequiresAccessStateChange(boolean state)
state - true if access should be currently valid.
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||