1 Clazz.declarePackage ("javajs.swing");
2 c$ = Clazz.decorateAsClass (function () {
8 Clazz.instantialize (this, arguments);
9 }, javajs.swing, "Cell");
10 Clazz.makeConstructor (c$,
13 this.colspan = c.gridwidth;
14 this.rowspan = c.gridheight;
16 }, "javajs.swing.JComponent,javajs.swing.GridBagConstraints");
17 Clazz.defineMethod (c$, "toHTML",
19 var style = this.c.getStyle (false);
20 return "<td id='" + id + "' " + (this.colspan < 2 ? "" : "colspan='" + this.colspan + "' ") + style + "><span " + this.c.getStyle (true) + ">" + this.component.toHTML () + "</span></td>";