JAL-2360 added UserColourScheme.toAppletParameter+test, hid
[jalview.git] / src / jalview / schemes / ResidueColourScheme.java
index c1eeafa..38ab622 100755 (executable)
@@ -41,10 +41,17 @@ public class ResidueColourScheme implements ColourSchemeI
 {
   public static final String NONE = "None";
 
+  /*
+   * lookup up by character value e.g. 'G' to the colors array index
+   * e.g. if symbolIndex['K'] = 11 then colors[11] is the colour for K
+   */
   final int[] symbolIndex;
 
   boolean conservationColouring = false;
 
+  /*
+   * colour for residue characters as indexed by symbolIndex
+   */
   Color[] colors = null;
 
   int threshold = 0;