public Vector sequences = new Vector();\r
int width = -1;\r
public ColourSchemeI cs;\r
- int startRes = 20;\r
- int endRes = 35;\r
+ int startRes = 0;\r
+ int endRes = 0;\r
\r
public SequenceGroup()\r
{\r
boolean isSelected,\r
boolean displayBoxes, boolean displayText,\r
boolean colourText,\r
- boolean display)\r
+ boolean display,\r
+ int start,\r
+ int end)\r
{\r
\r
this.groupName = groupName;\r
this.colourText = colourText;\r
this.display = display;\r
this.cs = scheme;\r
+ startRes = start;\r
+ endRes = end;\r
}\r
\r
public String getName()\r
sequences.addElement(s);\r
}\r
\r
+ public void addOrRemove(SequenceI s)\r
+ {\r
+ if(sequences.contains(s))\r
+ deleteSequence(s);\r
+ else\r
+ addSequence(s);\r
+ }\r
+\r
public void deleteSequence(SequenceI s)\r
{\r
sequences.removeElement(s);\r