Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / java / awt / event / AdjustmentEvent.js
index c725395..20c2e1e 100644 (file)
@@ -1,79 +1,79 @@
-Clazz.declarePackage ("java.awt.event");\r
-Clazz.load (["java.awt.AWTEvent"], "java.awt.event.AdjustmentEvent", null, function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.adjustable = null;\r
-this.value = 0;\r
-this.adjustmentType = 0;\r
-this.isAdjusting = false;\r
-Clazz.instantialize (this, arguments);\r
-}, java.awt.event, "AdjustmentEvent", java.awt.AWTEvent);\r
-Clazz.makeConstructor (c$, \r
-function (source, id, type, value) {\r
-this.construct (source, id, type, value, false);\r
-}, "java.awt.Adjustable,~N,~N,~N");\r
-Clazz.makeConstructor (c$, \r
-function (source, id, type, value, isAdjusting) {\r
-Clazz.superConstructor (this, java.awt.event.AdjustmentEvent, [source, id]);\r
-this.adjustable = source;\r
-this.adjustmentType = type;\r
-this.value = value;\r
-this.isAdjusting = isAdjusting;\r
-}, "java.awt.Adjustable,~N,~N,~N,~B");\r
-Clazz.defineMethod (c$, "getAdjustable", \r
-function () {\r
-return this.adjustable;\r
-});\r
-Clazz.defineMethod (c$, "getValue", \r
-function () {\r
-return this.value;\r
-});\r
-Clazz.defineMethod (c$, "getAdjustmentType", \r
-function () {\r
-return this.adjustmentType;\r
-});\r
-Clazz.defineMethod (c$, "getValueIsAdjusting", \r
-function () {\r
-return this.isAdjusting;\r
-});\r
-Clazz.overrideMethod (c$, "paramString", \r
-function () {\r
-var typeStr;\r
-switch (this.id) {\r
-case 601:\r
-typeStr = "ADJUSTMENT_VALUE_CHANGED";\r
-break;\r
-default:\r
-typeStr = "unknown type";\r
-}\r
-var adjTypeStr;\r
-switch (this.adjustmentType) {\r
-case 1:\r
-adjTypeStr = "UNIT_INCREMENT";\r
-break;\r
-case 2:\r
-adjTypeStr = "UNIT_DECREMENT";\r
-break;\r
-case 4:\r
-adjTypeStr = "BLOCK_INCREMENT";\r
-break;\r
-case 3:\r
-adjTypeStr = "BLOCK_DECREMENT";\r
-break;\r
-case 5:\r
-adjTypeStr = "TRACK";\r
-break;\r
-default:\r
-adjTypeStr = "unknown type";\r
-}\r
-return typeStr + ",adjType=" + adjTypeStr + ",value=" + this.value + ",isAdjusting=" + this.isAdjusting;\r
-});\r
-Clazz.defineStatics (c$,\r
-"ADJUSTMENT_FIRST", 601,\r
-"ADJUSTMENT_LAST", 601,\r
-"ADJUSTMENT_VALUE_CHANGED", 601,\r
-"UNIT_INCREMENT", 1,\r
-"UNIT_DECREMENT", 2,\r
-"BLOCK_DECREMENT", 3,\r
-"BLOCK_INCREMENT", 4,\r
-"TRACK", 5);\r
-});\r
+Clazz.declarePackage ("java.awt.event");
+Clazz.load (["java.awt.AWTEvent"], "java.awt.event.AdjustmentEvent", null, function () {
+c$ = Clazz.decorateAsClass (function () {
+this.adjustable = null;
+this.value = 0;
+this.adjustmentType = 0;
+this.isAdjusting = false;
+Clazz.instantialize (this, arguments);
+}, java.awt.event, "AdjustmentEvent", java.awt.AWTEvent);
+Clazz.makeConstructor (c$, 
+function (source, id, type, value) {
+this.construct (source, id, type, value, false);
+}, "java.awt.Adjustable,~N,~N,~N");
+Clazz.makeConstructor (c$, 
+function (source, id, type, value, isAdjusting) {
+Clazz.superConstructor (this, java.awt.event.AdjustmentEvent, [source, id]);
+this.adjustable = source;
+this.adjustmentType = type;
+this.value = value;
+this.isAdjusting = isAdjusting;
+}, "java.awt.Adjustable,~N,~N,~N,~B");
+Clazz.defineMethod (c$, "getAdjustable", 
+function () {
+return this.adjustable;
+});
+Clazz.defineMethod (c$, "getValue", 
+function () {
+return this.value;
+});
+Clazz.defineMethod (c$, "getAdjustmentType", 
+function () {
+return this.adjustmentType;
+});
+Clazz.defineMethod (c$, "getValueIsAdjusting", 
+function () {
+return this.isAdjusting;
+});
+Clazz.overrideMethod (c$, "paramString", 
+function () {
+var typeStr;
+switch (this.id) {
+case 601:
+typeStr = "ADJUSTMENT_VALUE_CHANGED";
+break;
+default:
+typeStr = "unknown type";
+}
+var adjTypeStr;
+switch (this.adjustmentType) {
+case 1:
+adjTypeStr = "UNIT_INCREMENT";
+break;
+case 2:
+adjTypeStr = "UNIT_DECREMENT";
+break;
+case 4:
+adjTypeStr = "BLOCK_INCREMENT";
+break;
+case 3:
+adjTypeStr = "BLOCK_DECREMENT";
+break;
+case 5:
+adjTypeStr = "TRACK";
+break;
+default:
+adjTypeStr = "unknown type";
+}
+return typeStr + ",adjType=" + adjTypeStr + ",value=" + this.value + ",isAdjusting=" + this.isAdjusting;
+});
+Clazz.defineStatics (c$,
+"ADJUSTMENT_FIRST", 601,
+"ADJUSTMENT_LAST", 601,
+"ADJUSTMENT_VALUE_CHANGED", 601,
+"UNIT_INCREMENT", 1,
+"UNIT_DECREMENT", 2,
+"BLOCK_DECREMENT", 3,
+"BLOCK_INCREMENT", 4,
+"TRACK", 5);
+});