JAL-2228 removed ColumnCounterI, finessed recalc of annotation height
[jalview.git] / src / jalview / workers / FeatureSetCounterI.java
index 3bbf8ec..e14952f 100644 (file)
@@ -26,17 +26,16 @@ import jalview.datamodel.SequenceFeature;
 import java.util.List;
 
 /**
- * Like FeatureCounterI but returns a vector of counts for a set of features
- * 
- * An interface for a type that returns counts of any value of interest at a
- * sequence position that can be determined from the sequence character and any
- * features present at that position
+ * 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
+ * sequence character and any features present at that position
  * 
  */
-public interface FeatureSetCounterI extends ColumnCounterI
+public interface FeatureSetCounterI
 {
   /**
-   * Returns counts of some properties of interest, for example
+   * Returns counts (per annotation type) of some properties of interest, for
+   * example
    * <ul>
    * <li>the number of variant features at the position</li>
    * <li>the number of Cath features of status 'True Positive'</li>
@@ -52,7 +51,7 @@ public interface FeatureSetCounterI extends ColumnCounterI
   int[] count(String residue, List<SequenceFeature> features);
 
   /**
-   * Returns names for the annotation that this is counting, for use as the
+   * Returns names for the annotations that this is counting, for use as the
    * displayed labels
    * 
    * @return
@@ -60,7 +59,7 @@ public interface FeatureSetCounterI extends ColumnCounterI
   String[] getNames();
 
   /**
-   * Returns descriptions for the annotation, for display as tooltips
+   * Returns descriptions for the annotations, for display as tooltips
    * 
    * @return
    */