1 Clazz.declarePackage ("jalview.schemes");
2 Clazz.load (["jalview.schemes.ResidueColourScheme"], "jalview.schemes.RNAInteractionColourScheme", ["jalview.schemes.ResidueProperties", "java.awt.Color"], function () {
3 c$ = Clazz.declareType (jalview.schemes, "RNAInteractionColourScheme", jalview.schemes.ResidueColourScheme);
4 Clazz.defineMethod (c$, "findColour",
6 return this.colors[jalview.schemes.ResidueProperties.nucleotideIndex[c.charCodeAt (0)]];
8 Clazz.defineMethod (c$, "findColour",
11 if ((this.threshold == 0) || this.aboveThreshold (c, j)) {
13 currentColour = this.colors[jalview.schemes.ResidueProperties.nucleotideIndex[c.charCodeAt (0)]];
15 if (Clazz.exceptionOf (ex, Exception)) {
16 return java.awt.Color.white;
22 return java.awt.Color.white;
23 }if (this.conservationColouring) {
24 currentColour = this.applyConservation (currentColour, j);
25 }return currentColour;
26 }, "~S,~N,jalview.datamodel.SequenceI");