/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6)
- * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
+ * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
*
* This file is part of Jalview.
*
return resBoxColour;
}
- /**
- * draw coloured sequence to the current graphics cursor
- * @param seq
- * @param sg
- * @param start
- * @param end
- * @param y1
- * @param drawBox - draw background
- * @param drawText - draw text (if shading style permits)
- */
-
public void drawSequence(SequenceI seq, SequenceGroup[] sg, int start,
- int end, int y1, boolean drawBox, boolean drawText)
+ int end, int y1)
{
if (seq == null)
{
}
allGroups = sg;
- if (drawBox) {
- drawBoxes(seq, start, end, y1);
- }
- if (av.validCharWidth && drawText)
+ drawBoxes(seq, start, end, y1);
+
+ if (av.validCharWidth)
{
drawText(seq, start, end, y1);
}