git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
popup for non-fatal tree parsing error
[jalview.git]
/
src
/
jalview
/
datamodel
/
Annotation.java
diff --git
a/src/jalview/datamodel/Annotation.java
b/src/jalview/datamodel/Annotation.java
index
ca5f9e0
..
9fc69bb
100755
(executable)
--- a/
src/jalview/datamodel/Annotation.java
+++ b/
src/jalview/datamodel/Annotation.java
@@
-43,7
+43,7
@@
public class Annotation
// add visual cues here
/** DOCUMENT ME!! */
// add visual cues here
/** DOCUMENT ME!! */
- public Color colour = Color.black;
+ public Color colour;
/**
* Creates a new Annotation object.
/**
* Creates a new Annotation object.
@@
-94,4
+94,13
@@
public class Annotation
value = that.value;
colour = that.colour;
}
value = that.value;
colour = that.colour;
}
+
+ /**
+ * Value only annotation.
+ * @param val value at this annotation position
+ */
+ public Annotation(float val)
+ {
+ this(null, null, ' ', val);
+ }
}
}