1 package jalview.datamodel;
5 public interface ContactListProviderI
10 * @return position index for this contact List (usually sequence position or
16 * dimension of list where getContactAt(column<getContactHeight()) may return
21 int getContactHeight();
24 * get a value representing contact at column for this site
27 * @return Double.NaN or a contact strength for this site
29 double getContactAt(int column);
32 * Return positions in local reference corresponding to cStart and cEnd in
33 * matrix data. Positions are base 1 column indices for sequence associated
38 * @return int[] { start, end (inclusive) for each contiguous segment}
40 default int[] getMappedPositionsFor(int cStart, int cEnd)
42 return new int[] { cStart, cEnd };
45 default Color getColourForGroup()