Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / java / awt / DisplayMode.js
index 3e3e567..18f8dc8 100644 (file)
@@ -1,51 +1,51 @@
-Clazz.declarePackage ("java.awt");\r
-Clazz.load (null, "java.awt.DisplayMode", ["java.awt.Dimension"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.size = null;\r
-this.bitDepth = 0;\r
-this.refreshRate = 0;\r
-Clazz.instantialize (this, arguments);\r
-}, java.awt, "DisplayMode");\r
-Clazz.makeConstructor (c$, \r
-function (width, height, bitDepth, refreshRate) {\r
-this.size =  new java.awt.Dimension (width, height);\r
-this.bitDepth = bitDepth;\r
-this.refreshRate = refreshRate;\r
-}, "~N,~N,~N,~N");\r
-Clazz.defineMethod (c$, "getHeight", \r
-function () {\r
-return this.size.height;\r
-});\r
-Clazz.defineMethod (c$, "getWidth", \r
-function () {\r
-return this.size.width;\r
-});\r
-Clazz.defineMethod (c$, "getBitDepth", \r
-function () {\r
-return this.bitDepth;\r
-});\r
-Clazz.defineMethod (c$, "getRefreshRate", \r
-function () {\r
-return this.refreshRate;\r
-});\r
-Clazz.defineMethod (c$, "equals", \r
-function (dm) {\r
-if (dm == null) {\r
-return false;\r
-}return (this.getHeight () == dm.getHeight () && this.getWidth () == dm.getWidth () && this.getBitDepth () == dm.getBitDepth () && this.getRefreshRate () == dm.getRefreshRate ());\r
-}, "java.awt.DisplayMode");\r
-Clazz.defineMethod (c$, "equals", \r
-function (dm) {\r
-if (Clazz.instanceOf (dm, java.awt.DisplayMode)) {\r
-return this.equals (dm);\r
-} else {\r
-return false;\r
-}}, "~O");\r
-Clazz.overrideMethod (c$, "hashCode", \r
-function () {\r
-return this.getWidth () + this.getHeight () + this.getBitDepth () * 7 + this.getRefreshRate () * 13;\r
-});\r
-Clazz.defineStatics (c$,\r
-"BIT_DEPTH_MULTI", -1,\r
-"REFRESH_RATE_UNKNOWN", 0);\r
-});\r
+Clazz.declarePackage ("java.awt");
+Clazz.load (null, "java.awt.DisplayMode", ["java.awt.Dimension"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.size = null;
+this.bitDepth = 0;
+this.refreshRate = 0;
+Clazz.instantialize (this, arguments);
+}, java.awt, "DisplayMode");
+Clazz.makeConstructor (c$, 
+function (width, height, bitDepth, refreshRate) {
+this.size =  new java.awt.Dimension (width, height);
+this.bitDepth = bitDepth;
+this.refreshRate = refreshRate;
+}, "~N,~N,~N,~N");
+Clazz.defineMethod (c$, "getHeight", 
+function () {
+return this.size.height;
+});
+Clazz.defineMethod (c$, "getWidth", 
+function () {
+return this.size.width;
+});
+Clazz.defineMethod (c$, "getBitDepth", 
+function () {
+return this.bitDepth;
+});
+Clazz.defineMethod (c$, "getRefreshRate", 
+function () {
+return this.refreshRate;
+});
+Clazz.defineMethod (c$, "equals", 
+function (dm) {
+if (dm == null) {
+return false;
+}return (this.getHeight () == dm.getHeight () && this.getWidth () == dm.getWidth () && this.getBitDepth () == dm.getBitDepth () && this.getRefreshRate () == dm.getRefreshRate ());
+}, "java.awt.DisplayMode");
+Clazz.defineMethod (c$, "equals", 
+function (dm) {
+if (Clazz.instanceOf (dm, java.awt.DisplayMode)) {
+return this.equals (dm);
+} else {
+return false;
+}}, "~O");
+Clazz.overrideMethod (c$, "hashCode", 
+function () {
+return this.getWidth () + this.getHeight () + this.getBitDepth () * 7 + this.getRefreshRate () * 13;
+});
+Clazz.defineStatics (c$,
+"BIT_DEPTH_MULTI", -1,
+"REFRESH_RATE_UNKNOWN", 0);
+});