From: Bob H. <ha...@us...> - 2006-02-06 03:29:54
|
Update of /cvsroot/jmol/Jmol/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14714/src Modified Files: JmolApplet.java Log Message: JavaScript asynchronous/synchronous augmentation JavaScript asynchronous interface augmented: animFrameCallback, loadStructCallback, messageCallback, pickCallback values sent to System.out on startup loadStructcallback output improved to include file path unimplemented pauseCallback commented out JavaScript synchronous interface augmented: (String)getAppletInfo() moved and improved to include version and date; (String)getAppletInfo("fileContents") added (String)getAppletInfo("fileContents","<filepath>") added Index: JmolApplet.java =================================================================== RCS file: /cvsroot/jmol/Jmol/src/JmolApplet.java,v retrieving revision 1.120 retrieving revision 1.121 diff -u -r1.120 -r1.121 --- JmolApplet.java 11 Jan 2006 14:38:05 -0000 1.120 +++ JmolApplet.java 6 Feb 2006 03:29:46 -0000 1.121 @@ -63,6 +63,18 @@ }; + public String getAppletInfo() { + return (wrappedApplet == null ? null : ((JmolAppletInterface)wrappedApplet).getAppletInfo()); + } + + public String getAppletInfo(String infoType) { + return (wrappedApplet == null ? null : ((JmolAppletInterface)wrappedApplet).getAppletInfo(infoType)); + } + + public String getAppletInfo(String infoType, String paramInfo) { + return (wrappedApplet == null ? null : ((JmolAppletInterface)wrappedApplet).getAppletInfo(infoType,paramInfo)); + } + public void script(String script) { if (wrappedApplet != null) ((JmolAppletInterface)wrappedApplet).script(script); |