git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-629 Tidy up tests and replaced methods before merge to develop
[jalview.git]
/
src
/
jalview
/
datamodel
/
ContactMatrixI.java
diff --git
a/src/jalview/datamodel/ContactMatrixI.java
b/src/jalview/datamodel/ContactMatrixI.java
index
9eabb10
..
3510ed1
100644
(file)
--- a/
src/jalview/datamodel/ContactMatrixI.java
+++ b/
src/jalview/datamodel/ContactMatrixI.java
@@
-1,5
+1,6
@@
package jalview.datamodel;
package jalview.datamodel;
+import java.awt.Color;
import java.util.Arrays;
import java.util.BitSet;
import java.util.List;
import java.util.Arrays;
import java.util.BitSet;
import java.util.List;
@@
-22,12
+23,15
@@
public interface ContactMatrixI
String getAnnotLabel();
/**
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();
*/
String getType();
int getWidth();
+
int getHeight();
default boolean hasGroups() {
int getHeight();
default boolean hasGroups() {
@@
-66,4
+70,10
@@
public interface ContactMatrixI
default double getCutHeight() {
return 0;
}
default double getCutHeight() {
return 0;
}
+
+ void updateGroups(List<BitSet> colGroups);
+
+ void setColorForGroup(BitSet bs, Color color);
+
+ default Color getColourForGroup(BitSet bs) { return Color.white;};
}
}