JAL-2349 JAL-3855 ContactListI.getPosition() to recover original position passed...
[jalview.git] / src / jalview / datamodel / ContactListI.java
index 84fcb7c..ac06adb 100644 (file)
@@ -1,31 +1,15 @@
 package jalview.datamodel;
 
-import java.awt.Color;
-
-public interface ContactListI
+public interface ContactListI extends ContactListProviderI
 {
 
-  int getColumnWidth();
-
-  int getContactHeight();
-
-  Color getColorForScore(int column);
-
   /**
-   * return colour representing contacts from i through to j for this site
+   * return bounds for range
    * 
    * @param from_column
    * @param to_column
-   * @return
-   */
-  Color getColorForRange(int from_column, int to_column);
-  
-  /**
-   * get a value representing contact at column for this site
-   * 
-   * @param column
-   * @return
+   * @return double[] { min, max,
    */
-  double getContactAt(int column);
+  ContactRange getRangeFor(int from_column, int to_column);
 
 }