X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjalview%2Fio%2FSequenceAnnotationReport.js;fp=site%2Fj2s%2Fjalview%2Fio%2FSequenceAnnotationReport.js;h=889211be7b883434adc3e6a66ca380a800802014;hp=15fa2ddc38b9a5672179069ede69dea11fc29cf3;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44
diff --git a/site/j2s/jalview/io/SequenceAnnotationReport.js b/site/j2s/jalview/io/SequenceAnnotationReport.js
index 15fa2dd..889211b 100644
--- a/site/j2s/jalview/io/SequenceAnnotationReport.js
+++ b/site/j2s/jalview/io/SequenceAnnotationReport.js
@@ -1,181 +1,181 @@
-Clazz.declarePackage ("jalview.io");
-Clazz.load (null, "jalview.io.SequenceAnnotationReport", ["jalview.util.DBRefUtils", "$.UrlLink", "java.lang.Float", "java.util.ArrayList"], function () {
-c$ = Clazz.decorateAsClass (function () {
-this.linkImageURL = null;
-Clazz.instantialize (this, arguments);
-}, jalview.io, "SequenceAnnotationReport");
-Clazz.makeConstructor (c$,
-function (linkImageURL) {
-this.linkImageURL = linkImageURL;
-}, "~S");
-Clazz.defineMethod (c$, "appendFeatures",
-function (tooltipText2, rpos, features) {
-this.appendFeatures (tooltipText2, rpos, features, null);
-}, "StringBuffer,~N,java.util.List");
-Clazz.defineMethod (c$, "appendFeatures",
-function (tooltipText2, rpos, features, minmax) {
-var tmpString;
-if (features != null) {
-for (var feature, $feature = features.iterator (); $feature.hasNext () && ((feature = $feature.next ()) || true);) {
-if (feature.getType ().equals ("disulfide bond")) {
-if (feature.getBegin () == rpos || feature.getEnd () == rpos) {
-if (tooltipText2.length () > 6) {
-tooltipText2.append ("
");
-}tooltipText2.append ("disulfide bond " + feature.getBegin () + ":" + feature.getEnd ());
-}} else {
-if (tooltipText2.length () > 6) {
-tooltipText2.append ("
");
-}var linkOnly = feature.getValue ("linkonly") != null;
-if (!linkOnly) {
-tooltipText2.append (feature.getType () + " ");
-if (rpos != 0) {
-tooltipText2.append ("" + feature.begin);
-}if (feature.begin != feature.end) {
-tooltipText2.append (" " + feature.end);
-}if (feature.getDescription () != null && !feature.description.equals (feature.getType ())) {
-tmpString = feature.getDescription ();
-var tmp2up = tmpString.toUpperCase ();
-var startTag = tmp2up.indexOf ("");
-if (startTag > -1) {
-tmpString = tmpString.substring (startTag + 6);
-tmp2up = tmp2up.substring (startTag + 6);
-}var endTag = tmp2up.indexOf ("");
-if (endTag > -1) {
-tmpString = tmpString.substring (0, endTag);
-tmp2up = tmp2up.substring (0, endTag);
-}endTag = tmp2up.indexOf ("