JAL-1807 includes ?j2sdebug flag and DebugJS._(msg)
[jalviewjs.git] / bin / jalview / datamodel / Annotation.js
index 92e1248..76f42d8 100644 (file)
@@ -1,72 +1,72 @@
-Clazz.declarePackage ("jalview.datamodel");\r
-Clazz.load (null, "jalview.datamodel.Annotation", ["java.lang.Float", "$.StringBuffer"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.displayCharacter = "";\r
-this.description = "";\r
-this.secondaryStructure = ' ';\r
-this.value = 0;\r
-this.colour = null;\r
-Clazz.instantialize (this, arguments);\r
-}, jalview.datamodel, "Annotation");\r
-Clazz.makeConstructor (c$, \r
-function (displayChar, desc, ss, val) {\r
-this.displayCharacter = displayChar;\r
-this.description = desc;\r
-this.secondaryStructure = ss;\r
-this.value = val;\r
-}, "~S,~S,~S,~N");\r
-Clazz.makeConstructor (c$, \r
-function (displayChar, desc, ss, val, colour) {\r
-this.construct (displayChar, desc, ss, val);\r
-this.colour = colour;\r
-}, "~S,~S,~S,~N,java.awt.Color");\r
-Clazz.makeConstructor (c$, \r
-function (that) {\r
-if (that == null || this === that) {\r
-return;\r
-}if (that.displayCharacter != null) this.displayCharacter =  String.instantialize (that.displayCharacter);\r
-if (that.description != null) this.description =  String.instantialize (that.description);\r
-this.secondaryStructure = that.secondaryStructure;\r
-this.value = that.value;\r
-this.colour = that.colour;\r
-}, "jalview.datamodel.Annotation");\r
-Clazz.makeConstructor (c$, \r
-function (val) {\r
-this.construct (null, null, ' ', val, null);\r
-}, "~N");\r
-Clazz.overrideMethod (c$, "toString", \r
-function () {\r
-var sb =  new StringBuffer ();\r
-if (this.displayCharacter != null) {\r
-sb.append ("\'");\r
-sb.append (this.displayCharacter);\r
-sb.append ("\'");\r
-}{\r
-sb.append (",");\r
-}if (this.secondaryStructure.charCodeAt (0) != 0 && !("" + this.displayCharacter).equals ("" + this.secondaryStructure)) {\r
-sb.append ("\'");\r
-sb.append (this.secondaryStructure);\r
-sb.append ("\'");\r
-}{\r
-sb.append (",");\r
-}if (this.description != null && this.description.length > 0) {\r
-sb.append ("\"");\r
-sb.append (this.description);\r
-sb.append ("\"");\r
-}{\r
-sb.append (",");\r
-}if (!Float.isNaN (this.value)) {\r
-sb.append (this.value);\r
-}if (this.colour != null) {\r
-if (sb.length () > 0) {\r
-sb.append (",");\r
-}sb.append ("[");\r
-sb.append (this.colour.getRed ());\r
-sb.append (",");\r
-sb.append (this.colour.getGreen ());\r
-sb.append (",");\r
-sb.append (this.colour.getBlue ());\r
-sb.append ("]");\r
-}return sb.toString ();\r
-});\r
-});\r
+Clazz.declarePackage ("jalview.datamodel");
+Clazz.load (null, "jalview.datamodel.Annotation", ["java.lang.Float", "$.StringBuffer"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.displayCharacter = "";
+this.description = "";
+this.secondaryStructure = ' ';
+this.value = 0;
+this.colour = null;
+Clazz.instantialize (this, arguments);
+}, jalview.datamodel, "Annotation");
+Clazz.makeConstructor (c$, 
+function (displayChar, desc, ss, val) {
+this.displayCharacter = displayChar;
+this.description = desc;
+this.secondaryStructure = ss;
+this.value = val;
+}, "~S,~S,~S,~N");
+Clazz.makeConstructor (c$, 
+function (displayChar, desc, ss, val, colour) {
+this.construct (displayChar, desc, ss, val);
+this.colour = colour;
+}, "~S,~S,~S,~N,java.awt.Color");
+Clazz.makeConstructor (c$, 
+function (that) {
+if (that == null || this === that) {
+return;
+}if (that.displayCharacter != null) this.displayCharacter =  String.instantialize (that.displayCharacter);
+if (that.description != null) this.description =  String.instantialize (that.description);
+this.secondaryStructure = that.secondaryStructure;
+this.value = that.value;
+this.colour = that.colour;
+}, "jalview.datamodel.Annotation");
+Clazz.makeConstructor (c$, 
+function (val) {
+this.construct (null, null, ' ', val, null);
+}, "~N");
+Clazz.overrideMethod (c$, "toString", 
+function () {
+var sb =  new StringBuffer ();
+if (this.displayCharacter != null) {
+sb.append ("\'");
+sb.append (this.displayCharacter);
+sb.append ("\'");
+}{
+sb.append (",");
+}if (this.secondaryStructure.charCodeAt (0) != 0 && !("" + this.displayCharacter).equals ("" + this.secondaryStructure)) {
+sb.append ("\'");
+sb.append (this.secondaryStructure);
+sb.append ("\'");
+}{
+sb.append (",");
+}if (this.description != null && this.description.length > 0) {
+sb.append ("\"");
+sb.append (this.description);
+sb.append ("\"");
+}{
+sb.append (",");
+}if (!Float.isNaN (this.value)) {
+sb.append (this.value);
+}if (this.colour != null) {
+if (sb.length () > 0) {
+sb.append (",");
+}sb.append ("[");
+sb.append ("" + this.colour.getRed ());
+sb.append (",");
+sb.append ("" + this.colour.getGreen ());
+sb.append (",");
+sb.append ("" + this.colour.getBlue ());
+sb.append ("]");
+}return sb.toString ();
+});
+});