Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / swingjs / plaf / JSPopupMenuUI.js
index 76f0f0f..b3eebd6 100644 (file)
@@ -1,30 +1,30 @@
-Clazz.declarePackage ("swingjs.plaf");\r
-Clazz.load (["swingjs.plaf.JSMenuUI"], "swingjs.plaf.JSPopupMenuUI", ["java.awt.Dimension", "javax.swing.LookAndFeel"], function () {\r
-c$ = Clazz.declareType (swingjs.plaf, "JSPopupMenuUI", swingjs.plaf.JSMenuUI);\r
-Clazz.makeConstructor (c$, \r
-function () {\r
-Clazz.superConstructor (this, swingjs.plaf.JSPopupMenuUI, []);\r
-this.isContainer = true;\r
-this.setDoc ();\r
-});\r
-Clazz.overrideMethod (c$, "getDOMObject", \r
-function () {\r
-if (this.domNode == null) this.domNode = this.createDOMObject ("select", this.id, []);\r
-return this.domNode;\r
-});\r
-Clazz.overrideMethod (c$, "setHTMLSize", \r
-function (obj, addCSS) {\r
-return  new java.awt.Dimension (this.c.getWidth (), this.c.getHeight ());\r
-}, "swingjs.api.DOMNode,~B");\r
-Clazz.defineMethod (c$, "getPreferredSize", \r
-function (c) {\r
-return null;\r
-}, "javax.swing.JComponent");\r
-Clazz.overrideMethod (c$, "installJSUI", \r
-function () {\r
-javax.swing.LookAndFeel.installColorsAndFont (this.c, "PopupMenu.background", "PopupMenu.foreground", "PopupMenu.font");\r
-});\r
-Clazz.overrideMethod (c$, "uninstallJSUI", \r
-function () {\r
-});\r
-});\r
+Clazz.declarePackage ("swingjs.plaf");
+Clazz.load (["swingjs.plaf.JSMenuUI"], "swingjs.plaf.JSPopupMenuUI", ["java.awt.Dimension", "javax.swing.LookAndFeel"], function () {
+c$ = Clazz.declareType (swingjs.plaf, "JSPopupMenuUI", swingjs.plaf.JSMenuUI);
+Clazz.makeConstructor (c$, 
+function () {
+Clazz.superConstructor (this, swingjs.plaf.JSPopupMenuUI, []);
+this.isContainer = true;
+this.setDoc ();
+});
+Clazz.overrideMethod (c$, "getDOMObject", 
+function () {
+if (this.domNode == null) this.domNode = this.createDOMObject ("select", this.id, []);
+return this.domNode;
+});
+Clazz.overrideMethod (c$, "setHTMLSize", 
+function (obj, addCSS) {
+return  new java.awt.Dimension (this.c.getWidth (), this.c.getHeight ());
+}, "swingjs.api.DOMNode,~B");
+Clazz.defineMethod (c$, "getPreferredSize", 
+function (c) {
+return null;
+}, "javax.swing.JComponent");
+Clazz.overrideMethod (c$, "installJSUI", 
+function () {
+javax.swing.LookAndFeel.installColorsAndFont (this.c, "PopupMenu.background", "PopupMenu.foreground", "PopupMenu.font");
+});
+Clazz.overrideMethod (c$, "uninstallJSUI", 
+function () {
+});
+});