JAL-1807 test
[jalviewjs.git] / bin / javajs / swing / JMenuItem.js
index 36e3220..b1183cc 100644 (file)
@@ -1,36 +1,36 @@
-Clazz.declarePackage ("javajs.swing");\r
-Clazz.load (["javajs.swing.AbstractButton"], "javajs.swing.JMenuItem", null, function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.btnType = 0;\r
-Clazz.instantialize (this, arguments);\r
-}, javajs.swing, "JMenuItem", javajs.swing.AbstractButton);\r
-Clazz.makeConstructor (c$, \r
-function (text) {\r
-Clazz.superConstructor (this, javajs.swing.JMenuItem, ["btn"]);\r
-this.setText (text);\r
-this.btnType = (text == null ? 0 : 1);\r
-}, "~S");\r
-Clazz.makeConstructor (c$, \r
-function (type, i) {\r
-Clazz.superConstructor (this, javajs.swing.JMenuItem, [type]);\r
-this.btnType = i;\r
-}, "~S,~N");\r
-Clazz.overrideMethod (c$, "toHTML", \r
-function () {\r
-return this.htmlMenuOpener ("li") + (this.text == null ? "" : "<a>" + this.htmlLabel () + "</a>") + "</li>";\r
-});\r
-Clazz.overrideMethod (c$, "getHtmlDisabled", \r
-function () {\r
-return " class=\"ui-state-disabled\"";\r
-});\r
-Clazz.defineMethod (c$, "htmlLabel", \r
-($fz = function () {\r
-return (this.btnType == 1 ? this.text : "<label><input id=\"" + this.id + "-" + (this.btnType == 3 ? "r" : "c") + "b\" type=\"" + (this.btnType == 3 ? "radio\" name=\"" + this.htmlName : "checkbox") + "\" " + (this.selected ? "checked" : "") + " />" + this.text + "</label>");\r
-}, $fz.isPrivate = true, $fz));\r
-Clazz.defineStatics (c$,\r
-"TYPE_SEPARATOR", 0,\r
-"TYPE_BUTTON", 1,\r
-"TYPE_CHECKBOX", 2,\r
-"TYPE_RADIO", 3,\r
-"TYPE_MENU", 4);\r
-});\r
+Clazz.declarePackage ("javajs.swing");
+Clazz.load (["javajs.swing.AbstractButton"], "javajs.swing.JMenuItem", null, function () {
+c$ = Clazz.decorateAsClass (function () {
+this.btnType = 0;
+Clazz.instantialize (this, arguments);
+}, javajs.swing, "JMenuItem", javajs.swing.AbstractButton);
+Clazz.makeConstructor (c$, 
+function (text) {
+Clazz.superConstructor (this, javajs.swing.JMenuItem, ["btn"]);
+this.setText (text);
+this.btnType = (text == null ? 0 : 1);
+}, "~S");
+Clazz.makeConstructor (c$, 
+function (type, i) {
+Clazz.superConstructor (this, javajs.swing.JMenuItem, [type]);
+this.btnType = i;
+}, "~S,~N");
+Clazz.overrideMethod (c$, "toHTML", 
+function () {
+return this.htmlMenuOpener ("li") + (this.text == null ? "" : "<a>" + this.htmlLabel () + "</a>") + "</li>";
+});
+Clazz.overrideMethod (c$, "getHtmlDisabled", 
+function () {
+return " class=\"ui-state-disabled\"";
+});
+Clazz.defineMethod (c$, "htmlLabel", 
+($fz = function () {
+return (this.btnType == 1 ? this.text : "<label><input id=\"" + this.id + "-" + (this.btnType == 3 ? "r" : "c") + "b\" type=\"" + (this.btnType == 3 ? "radio\" name=\"" + this.htmlName : "checkbox") + "\" " + (this.selected ? "checked" : "") + " />" + this.text + "</label>");
+}, $fz.isPrivate = true, $fz));
+Clazz.defineStatics (c$,
+"TYPE_SEPARATOR", 0,
+"TYPE_BUTTON", 1,
+"TYPE_CHECKBOX", 2,
+"TYPE_RADIO", 3,
+"TYPE_MENU", 4);
+});