package jalview.datamodel;
+import java.awt.Color;
import java.util.Arrays;
import java.util.BitSet;
import java.util.List;
String getAnnotLabel();
/**
- * string indicating how the contactMatrix should be rendered - stored in calcId
- * @return
+ * string indicating how the contactMatrix should be rendered - stored in
+ * calcId
+ *
+ * @return
*/
String getType();
int getWidth();
+
int getHeight();
default boolean hasGroups() {
default double getCutHeight() {
return 0;
}
+
+ void updateGroups(List<BitSet> colGroups);
+
+ void setColorForGroup(BitSet bs, Color color);
+
+ default Color getColourForGroup(BitSet bs) { return Color.white;};
}