JAL-1807 - Bob's last(?) before leaving Dundee -- adds fast file loading
[jalviewjs.git] / src / jalview / schemes / AnnotationColourGradient.java
index e65d5f5..2198a4e 100644 (file)
@@ -257,7 +257,7 @@ public class AnnotationColourGradient extends FollowerColourScheme
         * @return DOCUMENT ME!
         */
        @Override
-       public Color findColour(char c, int j, SequenceI seq) {
+       public Color findColourSeq(char c, int j, SequenceI seq) {
                Color currentColour = Color.white;
                AlignmentAnnotation annotation = (seqAssociated && seqannot != null ? seqannot
                                .get(seq) : this.annotation);
@@ -289,7 +289,7 @@ public class AnnotationColourGradient extends FollowerColourScheme
                                                if (aj.secondaryStructure > ' ' && aj.secondaryStructure != '.'
                                                                && aj.secondaryStructure != '-') {
                                                        if (colourScheme != null) {
-                                                               currentColour = colourScheme.findColour(c, j, seq);
+                                                               currentColour = colourScheme.findColourSeq(c, j, seq);
                                                        } else {
                                                                if (annotation.isRNA()) {
                                                                        currentColour = ColourSchemeProperty.rnaHelices[(int) aj.value];
@@ -305,7 +305,7 @@ public class AnnotationColourGradient extends FollowerColourScheme
                                                }
                                        } else if (noGradient) {
                                                if (colourScheme != null) {
-                                                       currentColour = colourScheme.findColour(c, j, seq);
+                                                       currentColour = colourScheme.findColourSeq(c, j, seq);
                                                } else {
                                                        if (aj.colour != null) {
                                                                currentColour = aj.colour;