Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / jalview / datamodel / GraphLine.js
index 564e7f4..83ffc69 100644 (file)
@@ -1,36 +1,36 @@
-Clazz.declarePackage ("jalview.datamodel");\r
-Clazz.load (["java.awt.Color"], "jalview.datamodel.GraphLine", null, function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.value = 0;\r
-this.label = "";\r
-this.colour = null;\r
-this.displayed = true;\r
-Clazz.instantialize (this, arguments);\r
-}, jalview.datamodel, "GraphLine");\r
-Clazz.prepareFields (c$, function () {\r
-this.colour = java.awt.Color.black;\r
-});\r
-Clazz.makeConstructor (c$, \r
-function (value, label, col) {\r
-this.value = value;\r
-if (label != null) {\r
-this.label = label;\r
-}if (col != null) {\r
-this.colour = col;\r
-}}, "~N,~S,java.awt.Color");\r
-Clazz.makeConstructor (c$, \r
-function (from) {\r
-if (from != null) {\r
-this.value = from.value;\r
-this.label =  String.instantialize (from.label);\r
-this.colour = from.colour;\r
-this.displayed = from.displayed;\r
-}}, "jalview.datamodel.GraphLine");\r
-Clazz.overrideMethod (c$, "equals", \r
-function (obj) {\r
-if (obj != null && Clazz.instanceOf (obj, jalview.datamodel.GraphLine)) {\r
-var other = obj;\r
-return this.displayed == other.displayed && this.value == other.value && (this.colour != null ? (other.colour != null && other.colour.equals (this.colour)) : other.colour == null) && (this.label != null ? (other.label != null && other.label.equals (this.label)) : other.label == null);\r
-}return false;\r
-}, "~O");\r
-});\r
+Clazz.declarePackage ("jalview.datamodel");
+Clazz.load (["java.awt.Color"], "jalview.datamodel.GraphLine", null, function () {
+c$ = Clazz.decorateAsClass (function () {
+this.value = 0;
+this.label = "";
+this.colour = null;
+this.displayed = true;
+Clazz.instantialize (this, arguments);
+}, jalview.datamodel, "GraphLine");
+Clazz.prepareFields (c$, function () {
+this.colour = java.awt.Color.black;
+});
+Clazz.makeConstructor (c$, 
+function (value, label, col) {
+this.value = value;
+if (label != null) {
+this.label = label;
+}if (col != null) {
+this.colour = col;
+}}, "~N,~S,java.awt.Color");
+Clazz.makeConstructor (c$, 
+function (from) {
+if (from != null) {
+this.value = from.value;
+this.label =  String.instantialize (from.label);
+this.colour = from.colour;
+this.displayed = from.displayed;
+}}, "jalview.datamodel.GraphLine");
+Clazz.overrideMethod (c$, "equals", 
+function (obj) {
+if (obj != null && Clazz.instanceOf (obj, jalview.datamodel.GraphLine)) {
+var other = obj;
+return this.displayed == other.displayed && this.value == other.value && (this.colour != null ? (other.colour != null && other.colour.equals (this.colour)) : other.colour == null) && (this.label != null ? (other.label != null && other.label.equals (this.label)) : other.label == null);
+}return false;
+}, "~O");
+});