Add a javascript observer for a field with read capability (EventOut or ExposedField)
the observer object will be notified of any changes to this field
The javascript method should be done this way:
function javascriptmethod(type,nodename,fieldname)
where
type - the event type
nodename - the name of the node that launched this event
(in case of a browser event it's null)
fieldname - the name of the field that launched this event
(in case of a browser event it's null)
Interface that must be implemented by applications that
are registered for browser or field events
A x3d browser will use the interface to notify an observer
whenever one of the defined events occurs.
get the value of an MFTime
implementations may return a reference instead of a copy of the data of the field
if the applications changes data in the returned array, the field must be notified
using setValue(array)
get the value of an MFInt32
implementations may return a reference instead of a copy of the data of the field
if the applications changes data in the returned array, the field must be notified
using setValue(array)
get the value of an MFString
implementations may return a reference instead of a copy of the data of the field
if the applications changes data in the returned array, the field must be notified
using setValue(array)
Properties: supported profile of the browser
The browser should return the profile and if available
all additional profile components that it supports
for example "coreX3D navigation=VRML97,scripting=Java"
set the value of an MFString
implementations may return a reference instead of a copy of the data of the field
if the applications changes data in the returned array, the field must be notified
using setValue(array)