public get methods
authoramwaterhouse <Andrew Waterhouse>
Wed, 5 Apr 2006 15:52:35 +0000 (15:52 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 5 Apr 2006 15:52:35 +0000 (15:52 +0000)
src/jalview/schemes/AnnotationColourGradient.java

index 789667e..ac88d96 100755 (executable)
@@ -85,6 +85,30 @@ public class AnnotationColourGradient extends ResidueColourScheme
 \r
     }\r
 \r
+\r
+    public String getAnnotation()\r
+    {\r
+      return annotation.label;\r
+    }\r
+\r
+    public int getAboveThreshold()\r
+    {\r
+      return aboveAnnotationThreshold;\r
+    }\r
+\r
+    public float getAnnotationThreshold()\r
+    {\r
+      if(annotationThreshold==null)\r
+        return 0;\r
+      else\r
+        return annotationThreshold.value;\r
+    }\r
+\r
+    public ColourSchemeI getBaseColour()\r
+    {\r
+      return colourScheme;\r
+    }\r
+\r
     public Color getMinColour()\r
     {\r
       return new Color( (int) r1, (int) g1, (int) b1);\r