Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / jalview / appletgui / AppletJmol.js
1 Clazz.declarePackage ("jalview.appletgui");
2 Clazz.load (["awt2swing.Panel", "java.awt.Dimension", "java.util.ArrayList"], "jalview.appletgui.AppletJmol", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
4 this.scriptWindow = null;
5 this.inputLine = null;
6 this.history = null;
7 this.renderPanel = null;
8 this.ap = null;
9 this._aps = null;
10 this.fileLoadingError = null;
11 this.loadedInline = false;
12 this.fr = null;
13 this.jmb = null;
14 if (!Clazz.isClassDefined ("jalview.appletgui.AppletJmol.RenderPanel")) {
15 jalview.appletgui.AppletJmol.$AppletJmol$RenderPanel$ ();
16 }
17 Clazz.instantialize (this, arguments);
18 }, jalview.appletgui, "AppletJmol");
19 Clazz.prepareFields (c$, function () {
20 this._aps =  new java.util.ArrayList ();
21 });
22 Clazz.makeConstructor (c$, 
23 function (entry, sequenceIs, object, ap2, uRL) {
24 }, "jalview.datamodel.PDBEntry,~A,~O,jalview.appletgui.AlignmentPanel,~S");
25 Clazz.defineMethod (c$, "setJalviewColourScheme", 
26 function (ucs) {
27 }, "jalview.schemes.UserColourScheme");
28 c$.$AppletJmol$RenderPanel$ = function () {
29 Clazz.pu$h(self.c$);
30 c$ = Clazz.decorateAsClass (function () {
31 Clazz.prepareCallback (this, arguments);
32 this.currentSize = null;
33 Clazz.instantialize (this, arguments);
34 }, jalview.appletgui.AppletJmol, "RenderPanel", awt2swing.Panel);
35 Clazz.prepareFields (c$, function () {
36 this.currentSize =  new java.awt.Dimension ();
37 });
38 Clazz.overrideMethod (c$, "update", 
39 function (a) {
40 this.paint (a);
41 }, "java.awt.Graphics");
42 Clazz.defineMethod (c$, "PaintComponent", 
43 function (a) {
44 this.currentSize = this.getSize ();
45 }, "java.awt.Graphics");
46 c$ = Clazz.p0p ();
47 };
48 });