X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAnnotation.java;h=aa933b743dcad73b4c7bae97f78a32220d7f5b21;hb=0e2054d29bc49351f000d478659dc3c4371b251c;hp=93b6ff69bfd57b10bd2d3b0d7926a9e9bf9396e4;hpb=dbc8ffccfdd7ff6f028ef8496e168219bd49ec8a;p=jalview.git diff --git a/src/jalview/datamodel/Annotation.java b/src/jalview/datamodel/Annotation.java index 93b6ff6..aa933b7 100755 --- a/src/jalview/datamodel/Annotation.java +++ b/src/jalview/datamodel/Annotation.java @@ -45,7 +45,7 @@ public class Annotation /** Score for the position - used in histograms, line graphs and for shading */ public float value; - + /** Colour for position */ public Color colour; @@ -67,6 +67,7 @@ public class Annotation description = desc; secondaryStructure = ss; value = val; + } /** @@ -110,6 +111,7 @@ public class Annotation secondaryStructure = that.secondaryStructure; value = that.value; colour = that.colour; + } /** @@ -120,7 +122,7 @@ public class Annotation */ public Annotation(float val) { - this(null, null, ' ', val); + this(null, null, ' ', val,null); } /**