> One idea I have is a data structure that maintains the status of all
> of the information generally sent to callbacks -- frame status, pick
> status, message log, file load status, etc. A page could poll this
> data structure using getProperty() and just look for whatever changes
> might be of interest, then respond as need be, perhaps requesting more
> specific information (what atoms were clicked, what the new
> orientation is, etc.). This would require a single setTimeout() per
> applet, probably with a 50-100 ms turnaround (maybe).

This is similar to what I have thought about for the past few years.

The applet should maintain a queue of events, and the JavaScript should
poll the event queue to get information.


Miguel



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to