Basic HTML version of Foils prepared March 18 1998

Foil 19 Getting Handle of Fields in Script Node with Java

From Scripting and EAI in VRML97 CPS616 -- Information Track of CPS -- Spring Semester 98. by Hasan Ozdemir (Geoffrey C. Fox)

VRML Display and Listing of Script Example of eventOut from Java for Foil 19
1 Field getField(String fieldName)
2 Field getEventIn(String fieldName)
3 Field getEventOut(String fieldname)
4 Field getExposedField(String fieldName)
5 let the Java code get the handle of the corresponding fields in the Script node.
6 Calling one of the setValue(), set1Value(), addValue(), insertValue(), clear() or delete() methods on an eventOut/eventIn sends that event at that time.

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Apr 5 1998