Merge branch 'develop' into spike/JAL-4047/JAL-4048_columns_in_sequenceID
[jalview.git] / src / jalview / datamodel / GroupSetI.java
diff --git a/src/jalview/datamodel/GroupSetI.java b/src/jalview/datamodel/GroupSetI.java
new file mode 100644 (file)
index 0000000..7c086a5
--- /dev/null
@@ -0,0 +1,34 @@
+package jalview.datamodel;
+
+import java.awt.Color;
+import java.util.BitSet;
+import java.util.List;
+
+public interface GroupSetI
+{
+  boolean hasGroups();
+
+  String getNewick();
+
+  boolean hasTree();
+
+  void updateGroups(List<BitSet> colGroups);
+
+  BitSet getGroupsFor(int column);
+
+  Color getColourForGroup(BitSet bs);
+
+  void setColorForGroup(BitSet bs, Color color);
+
+  void restoreGroups(List<BitSet> newgroups, String treeMethod, String tree,
+          double thresh2);
+
+  boolean hasCutHeight();
+
+  double getCutHeight();
+
+  String getTreeMethod();
+
+  List<BitSet> getGroups();
+
+}