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