Lines Matching refs:applet

400 	  var applet = _jmolGetApplet(appletSuffixes[i]);
401 if (applet) applet.script(script);
405 var applet=_jmolGetApplet(targetSuffix);
406 if (applet) applet.script(script);
413 var applet=_jmolGetApplet(targetSuffix);
414 if (!applet)return "ERROR: NO APPLET"
416 return applet.loadInlineString(model, "", false);
418 return applet.loadInlineArray(model, "", false);
424 var applet=_jmolGetApplet(targetSuffix);
425 if (!applet)return "ERROR: NO APPLET"
426 return applet.loadInlineString(model, script, false);
433 var applet=_jmolGetApplet(targetSuffix);
434 if (!applet)return "ERROR: NO APPLET"
436 return applet.loadInlineArray(ModelArray, script, false);
439 return applet.loadInlineString(ModelArray.join("\n"), script, false);
446 var applet=_jmolGetApplet(targetSuffix);
447 if (!applet)return "ERROR: NO APPLET"
449 return applet.loadInlineArray(ModelArray, script, true);
452 return applet.loadInlineString(ModelArray.join("\n"), script, true);
458 var applet=_jmolGetApplet(targetSuffix);
459 if (!applet)return "ERROR: NO APPLET"
460 return applet.loadInlineString(model, script, true);
1007 …var applet = _jmolFindAppletInWindow(_jmol.appletWindow != null ? _jmol.appletWindow : window, tar…
1009 if (applet == undefined)
1010 applet = _jmolSearchFrames(window, target);
1012 if (applet == undefined)
1013 applet = _jmolSearchFrames(top, target); // look starting in top frame
1014 return applet;
1019 var applet = _jmolFindApplet(target);
1020 if (applet) return applet
1027 var applet;
1032 applet = _jmolSearchFrames(frames[i], target);
1033 if (applet)
1034 return applet;
1041 return applet = _jmolFindAppletInWindow(win, target)
1298 var applet = _jmolGetApplet(targetSuffix);
1300 return (applet ? applet.getPropertyAsString(sKey,sValue) + "" : "")
1305 var applet = _jmolGetApplet(targetSuffix);
1307 return (applet ? applet.getPropertyAsJSON(sKey,sValue) + "" : "")
1315 var applet = _jmolGetApplet(targetSuffix);
1316 return (applet ? applet.getProperty(sKey,sValue) : null)
1343 var applet=_jmolGetApplet(targetSuffix);
1344 if (applet) ret += applet.scriptWaitOutput(script);
1394 var applet=_jmolGetApplet(targetSuffix);
1395 if (applet) ret += applet.scriptWait(script);
1543 var applet=_jmolGetApplet(targetSuffix);
1544 if (applet) applet.getProperty('jmolViewer').setAtomCoord(i,x,y,z)
1549 var applet=_jmolGetApplet(targetSuffix);
1550 if (applet) applet.getProperty('jmolViewer').setAtomCoordRelative(i,x,y,z)
1601 var applet = _jmolGetApplet(targetSuffix);
1602 if(!applet)return;
1603 applet.style.width = (percentW ? width * percentW/100 : w)+"px";
1604 applet.style.height = (percentH ? height * percentH/100 : (h ? h : w))+"px";
1613 var applet = _jmolGetApplet(targetSuffix);
1614 if(!applet)return;
1616 sz[0] && (applet.style.width = sz[0]);
1617 sz[1] && (applet.style.height = sz[1]);