JAL-2388 Alignment col and row collections with iterators
[jalview.git] / src / jalview / gui / OverviewRenderer.java
index 87937ba..566846a 100644 (file)
@@ -20,9 +20,9 @@
  */
 package jalview.gui;
 
+import jalview.api.AlignmentColsCollectionI;
+import jalview.api.AlignmentRowsCollectionI;
 import jalview.datamodel.AlignmentAnnotation;
-import jalview.datamodel.AlignmentColsCollection;
-import jalview.datamodel.AlignmentRowsCollection;
 import jalview.datamodel.Annotation;
 import jalview.datamodel.SequenceI;
 import jalview.renderer.seqfeatures.FeatureColourFinder;
@@ -68,8 +68,8 @@ public class OverviewRenderer
    *          Iterator over columns to be drawn
    * @return image containing the drawing
    */
-  public BufferedImage draw(AlignmentRowsCollection rows,
-          AlignmentColsCollection cols)
+  public BufferedImage draw(AlignmentRowsCollectionI rows,
+          AlignmentColsCollectionI cols)
   {
     int rgbcolor = Color.white.getRGB();
     int seqIndex = 0;
@@ -137,7 +137,7 @@ public class OverviewRenderer
   }
 
   public void drawGraph(Graphics g, AlignmentAnnotation _aa, int charWidth,
-          int y, AlignmentColsCollection cols)
+          int y, AlignmentColsCollectionI cols)
   {
     Annotation[] aa_annotations = _aa.annotations;
     g.setColor(Color.white);