1 Clazz.declarePackage ("jalview.datamodel");
2 Clazz.load (["java.awt.Color"], "jalview.datamodel.GraphLine", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
8 Clazz.instantialize (this, arguments);
9 }, jalview.datamodel, "GraphLine");
10 Clazz.prepareFields (c$, function () {
11 this.colour = java.awt.Color.black;
13 Clazz.makeConstructor (c$,
14 function (value, label, col) {
20 }}, "~N,~S,java.awt.Color");
21 Clazz.makeConstructor (c$,
24 this.value = from.value;
25 this.label = String.instantialize (from.label);
26 this.colour = from.colour;
27 this.displayed = from.displayed;
28 }}, "jalview.datamodel.GraphLine");
29 Clazz.overrideMethod (c$, "equals",
31 if (obj != null && Clazz.instanceOf (obj, jalview.datamodel.GraphLine)) {
33 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);