Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / javax / swing / ComponentInputMap.js
index 360cb23..fff9305 100644 (file)
@@ -1,46 +1,46 @@
-Clazz.declarePackage ("javax.swing");\r
-Clazz.load (["javax.swing.InputMap"], "javax.swing.ComponentInputMap", ["java.lang.IllegalArgumentException"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.component = null;\r
-Clazz.instantialize (this, arguments);\r
-}, javax.swing, "ComponentInputMap", javax.swing.InputMap);\r
-Clazz.makeConstructor (c$, \r
-function (component) {\r
-Clazz.superConstructor (this, javax.swing.ComponentInputMap, []);\r
-this.component = component;\r
-if (component == null) {\r
-throw  new IllegalArgumentException ("ComponentInputMaps must be associated with a non-null JComponent");\r
-}}, "javax.swing.JComponent");\r
-Clazz.defineMethod (c$, "setParent", \r
-function (map) {\r
-if (this.getParent () === map) {\r
-return;\r
-}if (map != null && (!(Clazz.instanceOf (map, javax.swing.ComponentInputMap)) || (map).getComponent () !== this.getComponent ())) {\r
-throw  new IllegalArgumentException ("ComponentInputMaps must have a parent ComponentInputMap associated with the same component");\r
-}Clazz.superCall (this, javax.swing.ComponentInputMap, "setParent", [map]);\r
-this.getComponent ().componentInputMapChanged (this);\r
-}, "javax.swing.InputMap");\r
-Clazz.defineMethod (c$, "getComponent", \r
-function () {\r
-return this.component;\r
-});\r
-Clazz.defineMethod (c$, "put", \r
-function (keyStroke, actionMapKey) {\r
-Clazz.superCall (this, javax.swing.ComponentInputMap, "put", [keyStroke, actionMapKey]);\r
-if (this.getComponent () != null) {\r
-this.getComponent ().componentInputMapChanged (this);\r
-}}, "javax.swing.KeyStroke,~O");\r
-Clazz.defineMethod (c$, "remove", \r
-function (key) {\r
-Clazz.superCall (this, javax.swing.ComponentInputMap, "remove", [key]);\r
-if (this.getComponent () != null) {\r
-this.getComponent ().componentInputMapChanged (this);\r
-}}, "javax.swing.KeyStroke");\r
-Clazz.defineMethod (c$, "clear", \r
-function () {\r
-var oldSize = this.size ();\r
-Clazz.superCall (this, javax.swing.ComponentInputMap, "clear", []);\r
-if (oldSize > 0 && this.getComponent () != null) {\r
-this.getComponent ().componentInputMapChanged (this);\r
-}});\r
-});\r
+Clazz.declarePackage ("javax.swing");
+Clazz.load (["javax.swing.InputMap"], "javax.swing.ComponentInputMap", ["java.lang.IllegalArgumentException"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.component = null;
+Clazz.instantialize (this, arguments);
+}, javax.swing, "ComponentInputMap", javax.swing.InputMap);
+Clazz.makeConstructor (c$, 
+function (component) {
+Clazz.superConstructor (this, javax.swing.ComponentInputMap, []);
+this.component = component;
+if (component == null) {
+throw  new IllegalArgumentException ("ComponentInputMaps must be associated with a non-null JComponent");
+}}, "javax.swing.JComponent");
+Clazz.defineMethod (c$, "setParent", 
+function (map) {
+if (this.getParent () === map) {
+return;
+}if (map != null && (!(Clazz.instanceOf (map, javax.swing.ComponentInputMap)) || (map).getComponent () !== this.getComponent ())) {
+throw  new IllegalArgumentException ("ComponentInputMaps must have a parent ComponentInputMap associated with the same component");
+}Clazz.superCall (this, javax.swing.ComponentInputMap, "setParent", [map]);
+this.getComponent ().componentInputMapChanged (this);
+}, "javax.swing.InputMap");
+Clazz.defineMethod (c$, "getComponent", 
+function () {
+return this.component;
+});
+Clazz.defineMethod (c$, "put", 
+function (keyStroke, actionMapKey) {
+Clazz.superCall (this, javax.swing.ComponentInputMap, "put", [keyStroke, actionMapKey]);
+if (this.getComponent () != null) {
+this.getComponent ().componentInputMapChanged (this);
+}}, "javax.swing.KeyStroke,~O");
+Clazz.defineMethod (c$, "remove", 
+function (key) {
+Clazz.superCall (this, javax.swing.ComponentInputMap, "remove", [key]);
+if (this.getComponent () != null) {
+this.getComponent ().componentInputMapChanged (this);
+}}, "javax.swing.KeyStroke");
+Clazz.defineMethod (c$, "clear", 
+function () {
+var oldSize = this.size ();
+Clazz.superCall (this, javax.swing.ComponentInputMap, "clear", []);
+if (oldSize > 0 && this.getComponent () != null) {
+this.getComponent ().componentInputMapChanged (this);
+}});
+});