Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / swingjs / j2s / swingjs / plaf / JSToggleButtonUI.js
index 3f43733..a7848ff 100644 (file)
@@ -1,18 +1,18 @@
-Clazz.declarePackage ("swingjs.plaf");\r
-Clazz.load (["swingjs.plaf.JSButtonUI"], "swingjs.plaf.JSToggleButtonUI", ["swingjs.api.DOMNode"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.isDomChecked = false;\r
-Clazz.instantialize (this, arguments);\r
-}, swingjs.plaf, "JSToggleButtonUI", swingjs.plaf.JSButtonUI);\r
-Clazz.overrideMethod (c$, "verifyButtonClick", \r
-function (isRelease) {\r
-var checked = ((swingjs.api.DOMNode.getAttr (this.domBtn, "checked")).booleanValue () === true);\r
-if (isRelease && this.isDomChecked == checked) return false;\r
-this.isDomChecked = checked;\r
-return true;\r
-}, "~B");\r
-Clazz.overrideMethod (c$, "getPropertyPrefix", \r
-function () {\r
-return "ToggleButton.";\r
-});\r
-});\r
+Clazz.declarePackage ("swingjs.plaf");
+Clazz.load (["swingjs.plaf.JSButtonUI"], "swingjs.plaf.JSToggleButtonUI", ["swingjs.api.DOMNode"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.isDomChecked = false;
+Clazz.instantialize (this, arguments);
+}, swingjs.plaf, "JSToggleButtonUI", swingjs.plaf.JSButtonUI);
+Clazz.overrideMethod (c$, "verifyButtonClick", 
+function (isRelease) {
+var checked = ((swingjs.api.DOMNode.getAttr (this.domBtn, "checked")).booleanValue () === true);
+if (isRelease && this.isDomChecked == checked) return false;
+this.isDomChecked = checked;
+return true;
+}, "~B");
+Clazz.overrideMethod (c$, "getPropertyPrefix", 
+function () {
+return "ToggleButton.";
+});
+});