1 package jalview.schemes;
\r
7 public class NucleotideColourScheme extends ResidueColourScheme
\r
9 public NucleotideColourScheme() {
\r
10 super(ResidueProperties.nucleotide,0);
\r
14 public Color findColour(String n)
\r
16 System.out.println("called");
\r
17 return colors[((Integer)(ResidueProperties.nucleotideHash.get(n))).intValue()];
\r
21 public Color findColour(String n, int j, Vector aa) {
\r
23 if (threshold == 0 || aboveThreshold(aa, n, j))
\r
26 return colors[ ( (Integer) (ResidueProperties.nucleotideHash.get(n))).intValue()];
\r
28 catch (Exception ex)
\r