From: amwaterhouse Date: Wed, 25 May 2005 17:46:17 +0000 (+0000) Subject: reset colours added X-Git-Tag: Release_2_0~177 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2ba9716bbffe4b35f640f8a85be4b60fe5fb2fdd;p=jalview.git reset colours added --- diff --git a/src/jalview/schemes/ClustalxColourScheme.java b/src/jalview/schemes/ClustalxColourScheme.java index c6b63dd..fe1289e 100755 --- a/src/jalview/schemes/ClustalxColourScheme.java +++ b/src/jalview/schemes/ClustalxColourScheme.java @@ -45,11 +45,15 @@ public class ClustalxColourScheme extends ResidueColourScheme } Vector colourTable = new Vector(); - public ClustalxColourScheme(Vector seqs, int maxWidth) { + resetClustalX(seqs, maxWidth); + } + + public void resetClustalX(Vector seqs, int maxWidth) + { cons2 = new int[maxWidth][24]; - int start = 0, end = maxWidth-1; + int start = 0; // Initialize the array for (int j=0;j<24;j++) @@ -220,11 +224,6 @@ public class ClustalxColourScheme extends ResidueColourScheme return Color.pink; } - public void setGroupSizeChanged(int i) - { - size = i; - } - public Color findColour(String s, int j) { if( threshold!=0 && !aboveThreshold(s,j))