JAL-2349 method to get display colour to represent a range of contacts
[jalview.git] / src / jalview / datamodel / ContactListI.java
1 package jalview.datamodel;
2
3 import java.awt.Color;
4
5 public interface ContactListI
6 {
7
8   int getColumnWidth();
9
10   int getContactHeight();
11
12   Color getColorForScore(int column);
13
14   /**
15    * return colour representing contacts from i through to j for this site
16    * 
17    * @param i
18    * @param j
19    * @return
20    */
21   Color getColorForRange(int i, int j);
22   
23   /**
24    * get a value representing contact at column for this site
25    * 
26    * @param column
27    * @return
28    */
29   double getContactAt(int column);
30
31 }