X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjson%2Fbinding%2Fbiojson%2Fv1%2FAnnotationPojo.java;h=d49c1d595d97b465cf8dd7e6a3f6e2b50036841a;hb=95ebbef7b78bf266a8252bd479510be3c80cd234;hp=d1cb71c0d91f9db9884d763e361072ee605c92a4;hpb=17e77c3f2949a0729322b4a8d907f3f34b6a9914;p=jalview.git diff --git a/src/jalview/json/binding/biojson/v1/AnnotationPojo.java b/src/jalview/json/binding/biojson/v1/AnnotationPojo.java index d1cb71c..d49c1d5 100644 --- a/src/jalview/json/binding/biojson/v1/AnnotationPojo.java +++ b/src/jalview/json/binding/biojson/v1/AnnotationPojo.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9) - * Copyright (C) 2015 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -43,6 +43,11 @@ public class AnnotationPojo @Attributes(required = false, description = "Value of the annotation") private float value; + @Attributes( + required = false, + description = "Colour of the annotation position in hex string.") + private String colour; + public String getDisplayCharacter() { return displayCharacter; @@ -83,4 +88,14 @@ public class AnnotationPojo this.value = value; } + public String getColour() + { + return colour; + } + + public void setColour(String colour) + { + this.colour = colour; + } + }