boolean scaleLeftWrapped = true;\r
boolean scaleRightWrapped = true;\r
boolean hasHiddenColumns = false;\r
+ boolean hasHiddenRows = false;\r
\r
// The following vector holds the features which are\r
// currently visible, in the correct order or rendering\r
{\r
globalColourScheme.setThreshold(globalColourScheme.getThreshold(), ignoreGapsInConsensusCalculation);\r
}\r
-\r
}\r
\r
public boolean getIgnoreGapsConsensus()\r
{\r
return isDataset;\r
}\r
+\r
+ public void hideSequence(SequenceI seq)\r
+ {\r
+ alignment.getHiddenSequences().hideSequence(seq);\r
+ hasHiddenRows = true;\r
+ }\r
+\r
+ public void showSequence(int index)\r
+ {\r
+ alignment.getHiddenSequences().showSequence(index);\r
+\r
+ if(alignment.getHiddenSequences().getSize()<1)\r
+ hasHiddenRows = false;\r
+ }\r
+\r
+ public int adjustForHiddenSeqs(int alignmentIndex)\r
+ {\r
+ return alignment.getHiddenSequences().adjustForHiddenSeqs(alignmentIndex);\r
+ }\r
}\r