int startSeq;\r
int endSeq;\r
\r
- boolean showScores;\r
- boolean showText;\r
- boolean showColourText;\r
- boolean showBoxes;\r
- boolean wrapAlignment;\r
+ boolean showScores=false;\r
+ boolean showText=true;\r
+ boolean showColourText=false;\r
+ boolean showBoxes=true;\r
+ boolean wrapAlignment=false;\r
+ boolean renderGaps = false;\r
\r
boolean groupEdit = false;\r
\r
}\r
\r
Vector consensus = new Vector();\r
-\r
public Vector getConsensus(boolean recalculate)\r
{\r
if(recalculate || consensus.size()<1)\r
showText = state;\r
}\r
\r
+ public void setRenderGaps(boolean state){\r
+ renderGaps = state;\r
+ if(renderer instanceof SequenceRenderer)\r
+ {\r
+ SequenceRenderer sr = (SequenceRenderer)renderer;\r
+ sr.renderGaps(state);\r
+ }\r
+ }\r
+\r
+\r
public boolean getColourText()\r
{\r
return showColourText;\r
public void setGroupEdit(boolean state) {\r
groupEdit = state;\r
}\r
- public String getGapCharacter() {\r
+ public char getGapCharacter() {\r
return getAlignment().getGapCharacter();\r
}\r
- public void setGapCharacter(String gap) {\r
+ public void setGapCharacter(char gap) {\r
if (getAlignment() != null) {\r
getAlignment().setGapCharacter(gap);\r
}\r