From: amwaterhouse Date: Wed, 5 Apr 2006 15:52:35 +0000 (+0000) Subject: public get methods X-Git-Tag: Release_2_08~54 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=47cd4dfeb4dac56591da8f31a50d310b69236c7b;p=jalview.git public get methods --- 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);