1 Clazz.declarePackage ("swingjs.plaf");
2 Clazz.load (["swingjs.plaf.JSTextUI"], "swingjs.plaf.JSTextAreaUI", ["swingjs.api.DOMNode"], function () {
3 c$ = Clazz.decorateAsClass (function () {
5 Clazz.instantialize (this, arguments);
6 }, swingjs.plaf, "JSTextAreaUI", swingjs.plaf.JSTextUI);
7 Clazz.overrideMethod (c$, "getDOMObject",
9 if (this.domNode == null) {
10 this.updateHandler.checkDocument ();
11 this.domBtn = this.focusNode = this.enableNode = this.textNode = this.domNode = this.createDOMObject ("textarea", this.id, []);
12 this.bindMouse (this.domNode);
13 this.bindKeys (this.domNode);
15 }this.setCssFont (swingjs.api.DOMNode.setAttr (this.domNode, "innerHTML", this.getComponentText ()), this.c.getFont ());
16 if (!this.editable) swingjs.api.DOMNode.setAttr (this.domNode, "readOnly", "true");