Merge branch 'develop' into features/JAL-4134_use_annotation_row_for_colours_and_groups
[jalview.git] / src / jalview / datamodel / ContactListI.java
index c08c07b..da55403 100644 (file)
@@ -2,13 +2,22 @@ package jalview.datamodel;
 
 import java.awt.Color;
 
-public interface ContactListI
-{
-
-  int getColumnWidth();
+import jalview.renderer.ContactGeometry.contactInterval;
 
-  int getContactHeight();
+public interface ContactListI extends ContactListProviderI
+{
 
-  Color getColorForScore(int column);
+  /**
+   * return bounds for range
+   * 
+   * @param from_column
+   * @param to_column
+   * @return double[] { min, max,
+   */
+  ContactRange getRangeFor(int from_column, int to_column);
 
+  default Color getColourForGroup()
+  {
+    return null;
+  }
 }