Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / javax / swing / ActionPropertyChangeListener.js
index ed8d9fc..d758a88 100644 (file)
@@ -1,31 +1,31 @@
-Clazz.declarePackage ("javax.swing");\r
-Clazz.load (["java.beans.PropertyChangeListener"], "javax.swing.ActionPropertyChangeListener", null, function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.action = null;\r
-Clazz.instantialize (this, arguments);\r
-}, javax.swing, "ActionPropertyChangeListener", null, java.beans.PropertyChangeListener);\r
-Clazz.makeConstructor (c$, \r
-function (c, a) {\r
-this.setTarget (c);\r
-this.action = a;\r
-}, "~O,javax.swing.Action");\r
-Clazz.overrideMethod (c$, "propertyChange", \r
-function (e) {\r
-var target = this.getTarget ();\r
-if (target == null) {\r
-this.getAction ().removePropertyChangeListener (this);\r
-} else {\r
-this.actionPropertyChanged (target, this.getAction (), e);\r
-}}, "java.beans.PropertyChangeEvent");\r
-Clazz.defineMethod (c$, "setTarget", \r
- function (c) {\r
-}, "~O");\r
-Clazz.defineMethod (c$, "getTarget", \r
-function () {\r
-return null;\r
-});\r
-Clazz.defineMethod (c$, "getAction", \r
-function () {\r
-return this.action;\r
-});\r
-});\r
+Clazz.declarePackage ("javax.swing");
+Clazz.load (["java.beans.PropertyChangeListener"], "javax.swing.ActionPropertyChangeListener", null, function () {
+c$ = Clazz.decorateAsClass (function () {
+this.action = null;
+Clazz.instantialize (this, arguments);
+}, javax.swing, "ActionPropertyChangeListener", null, java.beans.PropertyChangeListener);
+Clazz.makeConstructor (c$, 
+function (c, a) {
+this.setTarget (c);
+this.action = a;
+}, "~O,javax.swing.Action");
+Clazz.overrideMethod (c$, "propertyChange", 
+function (e) {
+var target = this.getTarget ();
+if (target == null) {
+this.getAction ().removePropertyChangeListener (this);
+} else {
+this.actionPropertyChanged (target, this.getAction (), e);
+}}, "java.beans.PropertyChangeEvent");
+Clazz.defineMethod (c$, "setTarget", 
+ function (c) {
+}, "~O");
+Clazz.defineMethod (c$, "getTarget", 
+function () {
+return null;
+});
+Clazz.defineMethod (c$, "getAction", 
+function () {
+return this.action;
+});
+});