JAL-2438 Javadoc updates
[jalview.git] / src / jalview / renderer / seqfeatures / FeatureColourFinder.java
index 5055ed5..761f418 100644 (file)
@@ -41,14 +41,16 @@ public class FeatureColourFinder
   /**
    * Answers the feature colour to show for the given sequence and column
    * position. This delegates to the FeatureRenderer to find the colour, which
-   * will depend on feature location, visibility, ordering, and whether or not
-   * transparency is applied. For feature rendering with transparency, this
-   * class provides a dummy 'offscreen' graphics context where multiple feature
-   * colours can be overlaid and the combined colour read back.
+   * will depend on feature location, visibility, ordering, colour scheme, and
+   * whether or not transparency is applied. For feature rendering with
+   * transparency, this class provides a dummy 'offscreen' graphics context
+   * where multiple feature colours can be overlaid and the combined colour read
+   * back.
    * 
    * @param defaultColour
    * @param seq
    * @param column
+   *          alignment column position (base zero)
    * @return
    */
   public Color findFeatureColour(Color defaultColour, SequenceI seq,
@@ -68,8 +70,7 @@ public class FeatureColourFinder
     Graphics g = featureRenderer.getTransparency() == 1f ? null
             : offscreenImage.getGraphics();
 
-    Color c = featureRenderer.findFeatureColour(defaultColour, seq, column,
-            g);
+    Color c = featureRenderer.findFeatureColour(seq, column, g);
     if (c != null && g != null)
     {
       c = new Color(offscreenImage.getRGB(0, 0));