File size: 876 Bytes
233f6d4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Clazz.declarePackage ("JSV.appletjs");
Clazz.load (["JSV.appletjs.JSVApplet"], "JSV.appletjs.JSVAppletPro", ["JSV.app.JSVAppPro"], function () {
c$ = Clazz.decorateAsClass (function () {
this.app0 = null;
Clazz.instantialize (this, arguments);
}, JSV.appletjs, "JSVAppletPro", JSV.appletjs.JSVApplet);
Clazz.overrideMethod (c$, "init", 
function () {
this.app =  new JSV.app.JSVAppPro (this, false);
this.initViewer ();
});
Clazz.overrideMethod (c$, "isPro", 
function () {
return true;
});
Clazz.defineMethod (c$, "getAppletInfo", 
function () {
return Clazz.superCall (this, JSV.appletjs.JSVAppletPro, "getAppletInfo", []) + " (PRO)";
});
Clazz.overrideMethod (c$, "script", 
function (script) {
this.runScript (script);
}, "~S");
Clazz.overrideMethod (c$, "doExitJmol", 
function () {
this.app0.setVisible (true);
this.app = this.app0;
});
});