JAL-4071 colour rows according to simple/graduated feature colour, beginning of suppo...
[jalview.git] / src / jalview / workers / FeatureSetCounterI.java
index e14952f..fec8afd 100644 (file)
 
 package jalview.workers;
 
-import jalview.datamodel.SequenceFeature;
-
 import java.util.List;
 
+import jalview.datamodel.SequenceFeature;
+
 /**
  * An interface for a type that returns counts (per computed annotation type) of
  * any value of interest at a sequence position that can be determined from the
@@ -66,20 +66,22 @@ public interface FeatureSetCounterI
   String[] getDescriptions();
 
   /**
-   * Returns the colour (as [red, green, blue] values in the range 0-255) to use
-   * for the minimum value on histogram bars. If this is different to
-   * getMaxColour(), then bars will have a graduated colour.
+   * for each property returned from getNames Returns the colour (as [red,
+   * green, blue] values in the range 0-255) to use for the minimum value on
+   * histogram bars. If this is different to getMaxColour(), then bars will have
+   * a graduated colour.
    * 
    * @return
    */
-  int[] getMinColour();
+  int[] getMinColour(int anrow);
 
   /**
-   * Returns the colour (as [red, green, blue] values in the range 0-255) to use
-   * for the maximum value on histogram bars. If this is the same as
-   * getMinColour(), then bars will have a single colour (not graduated).
+   * for each property returned from getNames Returns the colour (as [red,
+   * green, blue] values in the range 0-255) to use for the maximum value on
+   * histogram bars. If this is the same as getMinColour(), then bars will have
+   * a single colour (not graduated).
    * 
    * @return
    */
-  int[] getMaxColour();
+  int[] getMaxColour(int anrow);
 }