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;
7 this.renderPanel = null;
10 this.fileLoadingError = null;
11 this.loadedInline = false;
14 if (!Clazz.isClassDefined ("jalview.appletgui.AppletJmol.RenderPanel")) {
15 jalview.appletgui.AppletJmol.$AppletJmol$RenderPanel$ ();
17 Clazz.instantialize (this, arguments);
18 }, jalview.appletgui, "AppletJmol");
19 Clazz.prepareFields (c$, function () {
20 this._aps = new java.util.ArrayList ();
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",
27 }, "jalview.schemes.UserColourScheme");
28 c$.$AppletJmol$RenderPanel$ = function () {
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 ();
38 Clazz.overrideMethod (c$, "update",
41 }, "java.awt.Graphics");
42 Clazz.defineMethod (c$, "PaintComponent",
44 this.currentSize = this.getSize ();
45 }, "java.awt.Graphics");