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);
33 * Return positions in local reference corresponding to cStart and cEnd in matrix data. Positions are base 1 column indices for sequence associated matrices.
36 * @return int[] { start, end (inclusive) for each contiguous segment}
38 default int[] getMappedPositionsFor(int cStart, int cEnd) {
39 return new int[] { cStart, cEnd};
42 default Color getColourForGroup() {