public class Blosum62ColourScheme extends ResidueColourScheme\r
{\r
\r
- // need to keep an eye on the changing visible consensus sequence\r
- AlignViewport av;\r
-\r
- public Blosum62ColourScheme(AlignViewport av)\r
+ public Blosum62ColourScheme()\r
{\r
super();\r
- this.av = av;\r
}\r
\r
- public Color findColour(String s, int j, Vector aa)\r
+ public Color findColour(String s, int j)\r
{\r
- Hashtable hash;\r
-\r
- if (aa != null)\r
- hash = (Hashtable)aa.elementAt(j);\r
- else\r
- return Color.white;\r
+ Hashtable hash = (Hashtable)consensus.elementAt(j);\r
\r
if (!jalview.util.Comparison.isGap((s.charAt(0))))\r
{\r
\r
public boolean canThreshold()\r
{\r
- return false;\r
+ return true;\r
}\r
\r
}\r