Hi Bob and others,

I think it's nice to add methods to be able to get more infos from the applet, 
but it would be helpful to have the same kind of infos from the Java code.
Especially, that would be useful to enhance the povray export function which 
has no more access to the internal Jmol data than the applet.

While JSON strings are very interesting from the JavaScript perspective, it's 
not as interesting from the Java perspective because there's the need to decode 
the JSON string.

Would it possible to modify the getProperty() mechanism you are currently 
implementing to satisfy both needs (JavaScript and Java) ?

I was thinking that maybe it could be done by separating the JSON encoding from 
the gathering of properties:
- have a getProperty() method that would return Java objects
- have a getJSONProperty() method that would use getProperty() to get the data 
and then convert the data to the JSON format.

What do you think ?

Nico



-------------------------------------------------------
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