X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FGroupSetI.java;fp=src%2Fjalview%2Fdatamodel%2FGroupSetI.java;h=7c086a5867406d7c24ec410fd969a7b2c5e38d12;hb=cc3341f9d1465b0226d184be4216d022a62e5cee;hp=0000000000000000000000000000000000000000;hpb=a093c2f7e5a0c30d7bd5513fec7653016cb03ae2;p=jalview.git diff --git a/src/jalview/datamodel/GroupSetI.java b/src/jalview/datamodel/GroupSetI.java new file mode 100644 index 0000000..7c086a5 --- /dev/null +++ b/src/jalview/datamodel/GroupSetI.java @@ -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 colGroups); + + BitSet getGroupsFor(int column); + + Color getColourForGroup(BitSet bs); + + void setColorForGroup(BitSet bs, Color color); + + void restoreGroups(List newgroups, String treeMethod, String tree, + double thresh2); + + boolean hasCutHeight(); + + double getCutHeight(); + + String getTreeMethod(); + + List getGroups(); + +}