Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / java / awt / event / ActionEvent.js
index 7174a26..0138288 100644 (file)
@@ -1,56 +1,56 @@
-Clazz.declarePackage ("java.awt.event");\r
-Clazz.load (["java.awt.AWTEvent"], "java.awt.event.ActionEvent", ["java.awt.event.KeyEvent"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.actionCommand = null;\r
-this.when = 0;\r
-this.modifiers = 0;\r
-Clazz.instantialize (this, arguments);\r
-}, java.awt.event, "ActionEvent", java.awt.AWTEvent);\r
-Clazz.makeConstructor (c$, \r
-function (source, id, command) {\r
-this.construct (source, id, command, 0);\r
-}, "~O,~N,~S");\r
-Clazz.makeConstructor (c$, \r
-function (source, id, command, modifiers) {\r
-this.construct (source, id, command, 0, modifiers);\r
-}, "~O,~N,~S,~N");\r
-Clazz.makeConstructor (c$, \r
-function (source, id, command, when, modifiers) {\r
-Clazz.superConstructor (this, java.awt.event.ActionEvent, [source, id]);\r
-this.actionCommand = command;\r
-this.when = when;\r
-this.modifiers = modifiers;\r
-}, "~O,~N,~S,~N,~N");\r
-Clazz.defineMethod (c$, "getActionCommand", \r
-function () {\r
-return this.actionCommand;\r
-});\r
-Clazz.defineMethod (c$, "getWhen", \r
-function () {\r
-return this.when;\r
-});\r
-Clazz.defineMethod (c$, "getModifiers", \r
-function () {\r
-return this.modifiers;\r
-});\r
-Clazz.overrideMethod (c$, "paramString", \r
-function () {\r
-var typeStr;\r
-switch (this.id) {\r
-case 1001:\r
-typeStr = "ACTION_PERFORMED";\r
-break;\r
-default:\r
-typeStr = "unknown type";\r
-}\r
-return typeStr + ",cmd=" + this.actionCommand + ",when=" + this.when + ",modifiers=" + java.awt.event.KeyEvent.getKeyModifiersText (this.modifiers);\r
-});\r
-Clazz.defineStatics (c$,\r
-"SHIFT_MASK", 1,\r
-"CTRL_MASK", 2,\r
-"META_MASK", 4,\r
-"ALT_MASK", 8,\r
-"ACTION_FIRST", 1001,\r
-"ACTION_LAST", 1001,\r
-"ACTION_PERFORMED", 1001);\r
-});\r
+Clazz.declarePackage ("java.awt.event");
+Clazz.load (["java.awt.AWTEvent"], "java.awt.event.ActionEvent", ["java.awt.event.KeyEvent"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.actionCommand = null;
+this.when = 0;
+this.modifiers = 0;
+Clazz.instantialize (this, arguments);
+}, java.awt.event, "ActionEvent", java.awt.AWTEvent);
+Clazz.makeConstructor (c$, 
+function (source, id, command) {
+this.construct (source, id, command, 0);
+}, "~O,~N,~S");
+Clazz.makeConstructor (c$, 
+function (source, id, command, modifiers) {
+this.construct (source, id, command, 0, modifiers);
+}, "~O,~N,~S,~N");
+Clazz.makeConstructor (c$, 
+function (source, id, command, when, modifiers) {
+Clazz.superConstructor (this, java.awt.event.ActionEvent, [source, id]);
+this.actionCommand = command;
+this.when = when;
+this.modifiers = modifiers;
+}, "~O,~N,~S,~N,~N");
+Clazz.defineMethod (c$, "getActionCommand", 
+function () {
+return this.actionCommand;
+});
+Clazz.defineMethod (c$, "getWhen", 
+function () {
+return this.when;
+});
+Clazz.defineMethod (c$, "getModifiers", 
+function () {
+return this.modifiers;
+});
+Clazz.overrideMethod (c$, "paramString", 
+function () {
+var typeStr;
+switch (this.id) {
+case 1001:
+typeStr = "ACTION_PERFORMED";
+break;
+default:
+typeStr = "unknown type";
+}
+return typeStr + ",cmd=" + this.actionCommand + ",when=" + this.when + ",modifiers=" + java.awt.event.KeyEvent.getKeyModifiersText (this.modifiers);
+});
+Clazz.defineStatics (c$,
+"SHIFT_MASK", 1,
+"CTRL_MASK", 2,
+"META_MASK", 4,
+"ALT_MASK", 8,
+"ACTION_FIRST", 1001,
+"ACTION_LAST", 1001,
+"ACTION_PERFORMED", 1001);
+});