JAL-1807 still testing
[jalviewjs.git] / bin / javajs / swing / Cell.js
index 5ac8a90..2fc85c8 100644 (file)
@@ -1,21 +1,21 @@
-Clazz.declarePackage ("javajs.swing");
-c$ = Clazz.decorateAsClass (function () {
-this.component = null;
-this.colspan = 0;
-this.rowspan = 0;
-this.textAlign = 0;
-this.c = null;
-Clazz.instantialize (this, arguments);
-}, javajs.swing, "Cell");
-Clazz.makeConstructor (c$, 
-function (btn, c) {
-this.component = btn;
-this.colspan = c.gridwidth;
-this.rowspan = c.gridheight;
-this.c = c;
-}, "javajs.swing.JComponent,javajs.swing.GridBagConstraints");
-Clazz.defineMethod (c$, "toHTML", 
-function (id) {
-var style = this.c.getStyle (false);
-return "<td id='" + id + "' " + (this.colspan < 2 ? "" : "colspan='" + this.colspan + "' ") + style + "><span " + this.c.getStyle (true) + ">" + this.component.toHTML () + "</span></td>";
-}, "~S");
+Clazz.declarePackage ("javajs.swing");\r
+c$ = Clazz.decorateAsClass (function () {\r
+this.component = null;\r
+this.colspan = 0;\r
+this.rowspan = 0;\r
+this.textAlign = 0;\r
+this.c = null;\r
+Clazz.instantialize (this, arguments);\r
+}, javajs.swing, "Cell");\r
+Clazz.makeConstructor (c$, \r
+function (btn, c) {\r
+this.component = btn;\r
+this.colspan = c.gridwidth;\r
+this.rowspan = c.gridheight;\r
+this.c = c;\r
+}, "javajs.swing.JComponent,javajs.swing.GridBagConstraints");\r
+Clazz.defineMethod (c$, "toHTML", \r
+function (id) {\r
+var style = this.c.getStyle (false);\r
+return "<td id='" + id + "' " + (this.colspan < 2 ? "" : "colspan='" + this.colspan + "' ") + style + "><span " + this.c.getStyle (true) + ">" + this.component.toHTML () + "</span></td>";\r
+}, "~S");\r