Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / java / awt / event / FocusEvent.js
index d9444ec..b709f91 100644 (file)
@@ -1,52 +1,52 @@
-Clazz.declarePackage ("java.awt.event");\r
-Clazz.load (["java.awt.event.ComponentEvent"], "java.awt.event.FocusEvent", ["jssun.awt.AppContext", "$.SunToolkit"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.temporary = false;\r
-this.opposite = null;\r
-Clazz.instantialize (this, arguments);\r
-}, java.awt.event, "FocusEvent", java.awt.event.ComponentEvent);\r
-Clazz.makeConstructor (c$, \r
-function (source, id, temporary, opposite) {\r
-Clazz.superConstructor (this, java.awt.event.FocusEvent, [source, id]);\r
-this.temporary = temporary;\r
-this.opposite = opposite;\r
-}, "java.awt.Component,~N,~B,java.awt.Component");\r
-Clazz.makeConstructor (c$, \r
-function (source, id, temporary) {\r
-this.construct (source, id, temporary, null);\r
-}, "java.awt.Component,~N,~B");\r
-Clazz.makeConstructor (c$, \r
-function (source, id) {\r
-this.construct (source, id, false);\r
-}, "java.awt.Component,~N");\r
-Clazz.defineMethod (c$, "isTemporary", \r
-function () {\r
-return this.temporary;\r
-});\r
-Clazz.defineMethod (c$, "getOppositeComponent", \r
-function () {\r
-if (this.opposite == null) {\r
-return null;\r
-}return (jssun.awt.SunToolkit.targetToAppContext (this.opposite) === jssun.awt.AppContext.getAppContext ()) ? this.opposite : null;\r
-});\r
-Clazz.overrideMethod (c$, "paramString", \r
-function () {\r
-var typeStr;\r
-switch (this.id) {\r
-case 1004:\r
-typeStr = "FOCUS_GAINED";\r
-break;\r
-case 1005:\r
-typeStr = "FOCUS_LOST";\r
-break;\r
-default:\r
-typeStr = "unknown type";\r
-}\r
-return typeStr + (this.temporary ? ",temporary" : ",permanent") + ",opposite=" + this.getOppositeComponent ();\r
-});\r
-Clazz.defineStatics (c$,\r
-"FOCUS_FIRST", 1004,\r
-"FOCUS_LAST", 1005,\r
-"FOCUS_GAINED", 1004,\r
-"FOCUS_LOST", 1005);\r
-});\r
+Clazz.declarePackage ("java.awt.event");
+Clazz.load (["java.awt.event.ComponentEvent"], "java.awt.event.FocusEvent", ["jssun.awt.AppContext", "$.SunToolkit"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.temporary = false;
+this.opposite = null;
+Clazz.instantialize (this, arguments);
+}, java.awt.event, "FocusEvent", java.awt.event.ComponentEvent);
+Clazz.makeConstructor (c$, 
+function (source, id, temporary, opposite) {
+Clazz.superConstructor (this, java.awt.event.FocusEvent, [source, id]);
+this.temporary = temporary;
+this.opposite = opposite;
+}, "java.awt.Component,~N,~B,java.awt.Component");
+Clazz.makeConstructor (c$, 
+function (source, id, temporary) {
+this.construct (source, id, temporary, null);
+}, "java.awt.Component,~N,~B");
+Clazz.makeConstructor (c$, 
+function (source, id) {
+this.construct (source, id, false);
+}, "java.awt.Component,~N");
+Clazz.defineMethod (c$, "isTemporary", 
+function () {
+return this.temporary;
+});
+Clazz.defineMethod (c$, "getOppositeComponent", 
+function () {
+if (this.opposite == null) {
+return null;
+}return (jssun.awt.SunToolkit.targetToAppContext (this.opposite) === jssun.awt.AppContext.getAppContext ()) ? this.opposite : null;
+});
+Clazz.overrideMethod (c$, "paramString", 
+function () {
+var typeStr;
+switch (this.id) {
+case 1004:
+typeStr = "FOCUS_GAINED";
+break;
+case 1005:
+typeStr = "FOCUS_LOST";
+break;
+default:
+typeStr = "unknown type";
+}
+return typeStr + (this.temporary ? ",temporary" : ",permanent") + ",opposite=" + this.getOppositeComponent ();
+});
+Clazz.defineStatics (c$,
+"FOCUS_FIRST", 1004,
+"FOCUS_LAST", 1005,
+"FOCUS_GAINED", 1004,
+"FOCUS_LOST", 1005);
+});