JAL-2507 Annotation.EMPTY_ANNOTATION - non-null whitespace annotation
authorJim Procter <jprocter@issues.jalview.org>
Thu, 11 May 2017 14:28:24 +0000 (15:28 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 11 May 2017 14:28:24 +0000 (15:28 +0100)
src/jalview/datamodel/Annotation.java

index 71ebbb3..fc8688c 100755 (executable)
@@ -30,6 +30,12 @@ import java.awt.Color;
  */
 public class Annotation
 {
+  /**
+   * the empty annotation - proxy for null entries in annotation row
+   */
+  public static final Annotation EMPTY_ANNOTATION = new Annotation("", "",
+          ' ', 0f);
+
   /** Character label - also shown below histogram */
   public String displayCharacter = "";