From 47cd4dfeb4dac56591da8f31a50d310b69236c7b Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 5 Apr 2006 15:52:35 +0000 Subject: [PATCH] public get methods --- src/jalview/schemes/AnnotationColourGradient.java | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/jalview/schemes/AnnotationColourGradient.java b/src/jalview/schemes/AnnotationColourGradient.java index 789667e..ac88d96 100755 --- a/src/jalview/schemes/AnnotationColourGradient.java +++ b/src/jalview/schemes/AnnotationColourGradient.java @@ -85,6 +85,30 @@ public class AnnotationColourGradient extends ResidueColourScheme } + + public String getAnnotation() + { + return annotation.label; + } + + public int getAboveThreshold() + { + return aboveAnnotationThreshold; + } + + public float getAnnotationThreshold() + { + if(annotationThreshold==null) + return 0; + else + return annotationThreshold.value; + } + + public ColourSchemeI getBaseColour() + { + return colourScheme; + } + public Color getMinColour() { return new Color( (int) r1, (int) g1, (int) b1); -- 1.7.10.2