Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / java / awt / event / MouseWheelEvent.js
index 6f37e7e..6a53d83 100644 (file)
@@ -1,50 +1,50 @@
-Clazz.declarePackage ("java.awt.event");\r
-Clazz.load (["java.awt.event.MouseEvent"], "java.awt.event.MouseWheelEvent", null, function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.scrollType = 0;\r
-this.scrollAmount = 0;\r
-this.wheelRotation = 0;\r
-Clazz.instantialize (this, arguments);\r
-}, java.awt.event, "MouseWheelEvent", java.awt.event.MouseEvent);\r
-Clazz.makeConstructor (c$, \r
-function (source, id, when, modifiers, x, y, clickCount, popupTrigger, scrollType, scrollAmount, wheelRotation) {\r
-this.construct (source, id, when, modifiers, x, y, 0, 0, clickCount, popupTrigger, scrollType, scrollAmount, wheelRotation);\r
-}, "java.awt.Component,~N,~N,~N,~N,~N,~N,~B,~N,~N,~N");\r
-Clazz.makeConstructor (c$, \r
-function (source, id, when, modifiers, x, y, xAbs, yAbs, clickCount, popupTrigger, scrollType, scrollAmount, wheelRotation) {\r
-Clazz.superConstructor (this, java.awt.event.MouseWheelEvent, [source, id, when, modifiers, x, y, xAbs, yAbs, clickCount, popupTrigger, 0]);\r
-this.scrollType = scrollType;\r
-this.scrollAmount = scrollAmount;\r
-this.wheelRotation = wheelRotation;\r
-}, "java.awt.Component,~N,~N,~N,~N,~N,~N,~N,~N,~B,~N,~N,~N");\r
-Clazz.defineMethod (c$, "getScrollType", \r
-function () {\r
-return this.scrollType;\r
-});\r
-Clazz.defineMethod (c$, "getScrollAmount", \r
-function () {\r
-return this.scrollAmount;\r
-});\r
-Clazz.defineMethod (c$, "getWheelRotation", \r
-function () {\r
-return this.wheelRotation;\r
-});\r
-Clazz.defineMethod (c$, "getUnitsToScroll", \r
-function () {\r
-return this.scrollAmount * this.wheelRotation;\r
-});\r
-Clazz.defineMethod (c$, "paramString", \r
-function () {\r
-var scrollTypeStr = null;\r
-if (this.getScrollType () == 0) {\r
-scrollTypeStr = "WHEEL_UNIT_SCROLL";\r
-} else if (this.getScrollType () == 1) {\r
-scrollTypeStr = "WHEEL_BLOCK_SCROLL";\r
-} else {\r
-scrollTypeStr = "unknown scroll type";\r
-}return Clazz.superCall (this, java.awt.event.MouseWheelEvent, "paramString", []) + ",scrollType=" + scrollTypeStr + ",scrollAmount=" + this.getScrollAmount () + ",wheelRotation=" + this.getWheelRotation ();\r
-});\r
-Clazz.defineStatics (c$,\r
-"WHEEL_UNIT_SCROLL", 0,\r
-"WHEEL_BLOCK_SCROLL", 1);\r
-});\r
+Clazz.declarePackage ("java.awt.event");
+Clazz.load (["java.awt.event.MouseEvent"], "java.awt.event.MouseWheelEvent", null, function () {
+c$ = Clazz.decorateAsClass (function () {
+this.scrollType = 0;
+this.scrollAmount = 0;
+this.wheelRotation = 0;
+Clazz.instantialize (this, arguments);
+}, java.awt.event, "MouseWheelEvent", java.awt.event.MouseEvent);
+Clazz.makeConstructor (c$, 
+function (source, id, when, modifiers, x, y, clickCount, popupTrigger, scrollType, scrollAmount, wheelRotation) {
+this.construct (source, id, when, modifiers, x, y, 0, 0, clickCount, popupTrigger, scrollType, scrollAmount, wheelRotation);
+}, "java.awt.Component,~N,~N,~N,~N,~N,~N,~B,~N,~N,~N");
+Clazz.makeConstructor (c$, 
+function (source, id, when, modifiers, x, y, xAbs, yAbs, clickCount, popupTrigger, scrollType, scrollAmount, wheelRotation) {
+Clazz.superConstructor (this, java.awt.event.MouseWheelEvent, [source, id, when, modifiers, x, y, xAbs, yAbs, clickCount, popupTrigger, 0]);
+this.scrollType = scrollType;
+this.scrollAmount = scrollAmount;
+this.wheelRotation = wheelRotation;
+}, "java.awt.Component,~N,~N,~N,~N,~N,~N,~N,~N,~B,~N,~N,~N");
+Clazz.defineMethod (c$, "getScrollType", 
+function () {
+return this.scrollType;
+});
+Clazz.defineMethod (c$, "getScrollAmount", 
+function () {
+return this.scrollAmount;
+});
+Clazz.defineMethod (c$, "getWheelRotation", 
+function () {
+return this.wheelRotation;
+});
+Clazz.defineMethod (c$, "getUnitsToScroll", 
+function () {
+return this.scrollAmount * this.wheelRotation;
+});
+Clazz.defineMethod (c$, "paramString", 
+function () {
+var scrollTypeStr = null;
+if (this.getScrollType () == 0) {
+scrollTypeStr = "WHEEL_UNIT_SCROLL";
+} else if (this.getScrollType () == 1) {
+scrollTypeStr = "WHEEL_BLOCK_SCROLL";
+} else {
+scrollTypeStr = "unknown scroll type";
+}return Clazz.superCall (this, java.awt.event.MouseWheelEvent, "paramString", []) + ",scrollType=" + scrollTypeStr + ",scrollAmount=" + this.getScrollAmount () + ",wheelRotation=" + this.getWheelRotation ();
+});
+Clazz.defineStatics (c$,
+"WHEEL_UNIT_SCROLL", 0,
+"WHEEL_BLOCK_SCROLL", 1);
+});