JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / site / j2s / swingjs / plaf / JSToolBarSeparatorUI.js
1 Clazz.declarePackage ("swingjs.plaf");\r
2 Clazz.load (["swingjs.plaf.JSSeparatorUI"], "swingjs.plaf.JSToolBarSeparatorUI", ["swingjs.api.DOMNode"], function () {\r
3 c$ = Clazz.declareType (swingjs.plaf, "JSToolBarSeparatorUI", swingjs.plaf.JSSeparatorUI);\r
4 Clazz.overrideMethod (c$, "getDOMObject", \r
5 function () {\r
6 if (this.domNode == null) this.textNode = this.domNode = this.createDOMObject ("label", this.id, []);\r
7 swingjs.plaf.JSComponentUI.vCenter (this.domNode, 10);\r
8 return this.setCssFont (swingjs.api.DOMNode.setAttr (this.domNode, "innerHTML", (this.c).getText ()), this.c.getFont ());\r
9 });\r
10 Clazz.overrideMethod (c$, "installJSUI", \r
11 function () {\r
12 });\r
13 Clazz.overrideMethod (c$, "uninstallJSUI", \r
14 function () {\r
15 });\r
16 });\r