value only annotation
authorjprocter <Jim Procter>
Fri, 20 Apr 2007 14:14:31 +0000 (14:14 +0000)
committerjprocter <Jim Procter>
Fri, 20 Apr 2007 14:14:31 +0000 (14:14 +0000)
src/jalview/datamodel/Annotation.java

index ca5f9e0..adb9bc5 100755 (executable)
@@ -94,4 +94,13 @@ public class Annotation
     value = that.value;
     colour = that.colour;
   }
+
+  /**
+   * Value only annotation.
+   * @param val value at this annotation position
+   */
+  public Annotation(float val)
+  {
+    this(null, null, '\0', val);
+  }
 }