Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / swingjs / j2s / javax / swing / CellRendererPane.js
index ba353d0..8efb7bb 100644 (file)
@@ -1,56 +1,56 @@
-Clazz.declarePackage ("javax.swing");\r
-Clazz.load (["java.awt.Container"], "javax.swing.CellRendererPane", null, function () {\r
-c$ = Clazz.declareType (javax.swing, "CellRendererPane", java.awt.Container);\r
-Clazz.makeConstructor (c$, \r
-function () {\r
-Clazz.superConstructor (this, javax.swing.CellRendererPane);\r
-this.setLayout (null);\r
-this.setVisible (false);\r
-});\r
-Clazz.overrideMethod (c$, "invalidate", \r
-function () {\r
-});\r
-Clazz.overrideMethod (c$, "paint", \r
-function (g) {\r
-}, "java.awt.Graphics");\r
-Clazz.overrideMethod (c$, "update", \r
-function (g) {\r
-}, "java.awt.Graphics");\r
-Clazz.overrideMethod (c$, "addImpl", \r
-function (x, constraints, index) {\r
-if (x.getParent () === this) {\r
-return null;\r
-} else {\r
-return this.addImplSAEM (x, constraints, index);\r
-}}, "java.awt.Component,~O,~N");\r
-Clazz.defineMethod (c$, "paintComponent", \r
-function (g, c, p, x, y, w, h, shouldValidate) {\r
-if (c == null) {\r
-if (p != null) {\r
-var oldColor = g.getColor ();\r
-g.setColor (p.getBackground ());\r
-g.fillRect (x, y, w, h);\r
-g.setColor (oldColor);\r
-}return;\r
-}if (c.getParent () !== this) {\r
-this.add (c);\r
-}c.setBounds (x, y, w, h);\r
-if (shouldValidate) {\r
-c.validate ();\r
-}var cg = g.create4 (x, y, w, h);\r
-try {\r
-c.paint (cg);\r
-} finally {\r
-cg.dispose ();\r
-}\r
-c.setBounds (-w, -h, 0, 0);\r
-}, "java.awt.Graphics,java.awt.Component,java.awt.Container,~N,~N,~N,~N,~B");\r
-Clazz.defineMethod (c$, "paintComponent", \r
-function (g, c, p, x, y, w, h) {\r
-this.paintComponent (g, c, p, x, y, w, h, false);\r
-}, "java.awt.Graphics,java.awt.Component,java.awt.Container,~N,~N,~N,~N");\r
-Clazz.defineMethod (c$, "paintComponent", \r
-function (g, c, p, r) {\r
-this.paintComponent (g, c, p, r.x, r.y, r.width, r.height);\r
-}, "java.awt.Graphics,java.awt.Component,java.awt.Container,java.awt.Rectangle");\r
-});\r
+Clazz.declarePackage ("javax.swing");
+Clazz.load (["java.awt.Container"], "javax.swing.CellRendererPane", null, function () {
+c$ = Clazz.declareType (javax.swing, "CellRendererPane", java.awt.Container);
+Clazz.makeConstructor (c$, 
+function () {
+Clazz.superConstructor (this, javax.swing.CellRendererPane);
+this.setLayout (null);
+this.setVisible (false);
+});
+Clazz.overrideMethod (c$, "invalidate", 
+function () {
+});
+Clazz.overrideMethod (c$, "paint", 
+function (g) {
+}, "java.awt.Graphics");
+Clazz.overrideMethod (c$, "update", 
+function (g) {
+}, "java.awt.Graphics");
+Clazz.overrideMethod (c$, "addImpl", 
+function (x, constraints, index) {
+if (x.getParent () === this) {
+return null;
+} else {
+return this.addImplSAEM (x, constraints, index);
+}}, "java.awt.Component,~O,~N");
+Clazz.defineMethod (c$, "paintComponent", 
+function (g, c, p, x, y, w, h, shouldValidate) {
+if (c == null) {
+if (p != null) {
+var oldColor = g.getColor ();
+g.setColor (p.getBackground ());
+g.fillRect (x, y, w, h);
+g.setColor (oldColor);
+}return;
+}if (c.getParent () !== this) {
+this.add (c);
+}c.setBounds (x, y, w, h);
+if (shouldValidate) {
+c.validate ();
+}var cg = g.create4 (x, y, w, h);
+try {
+c.paint (cg);
+} finally {
+cg.dispose ();
+}
+c.setBounds (-w, -h, 0, 0);
+}, "java.awt.Graphics,java.awt.Component,java.awt.Container,~N,~N,~N,~N,~B");
+Clazz.defineMethod (c$, "paintComponent", 
+function (g, c, p, x, y, w, h) {
+this.paintComponent (g, c, p, x, y, w, h, false);
+}, "java.awt.Graphics,java.awt.Component,java.awt.Container,~N,~N,~N,~N");
+Clazz.defineMethod (c$, "paintComponent", 
+function (g, c, p, r) {
+this.paintComponent (g, c, p, r.x, r.y, r.width, r.height);
+}, "java.awt.Graphics,java.awt.Component,java.awt.Container,java.awt.Rectangle");
+});