int iconOffset, int startRes, int column, boolean validRes,
boolean validEnd)
{
- // System.out.println(nonCanColor);
+ // jalview.bin.Console.outPrintln(nonCanColor);
g.setColor(nonCanColor);
int sCol = (lastSSX / charWidth)
boolean diffdownstream = !validRes || !validEnd
|| row_annotations[column] == null
|| !dc.equals(row_annotations[column].displayCharacter);
- // System.out.println("Column "+column+" diff up: "+diffupstream+"
+ // jalview.bin.Console.outPrintln("Column "+column+" diff up: "+diffupstream+"
// down:"+diffdownstream);
// If a closing base pair half of the stem, display a backward arrow
if (column > 0 && Rna.isClosingParenthesis(dc))
{
// int nb_annot = x - temp;
- // System.out.println("\t type :"+lastSS+"\t x :"+x+"\t nbre
+ // jalview.bin.Console.outPrintln("\t type :"+lastSS+"\t x :"+x+"\t nbre
// annot :"+nb_annot);
switch (lastSS)
{
case 'y':
case 'Z':
case 'z':
- // System.out.println(lastSS);
+ // jalview.bin.Console.outPrintln(lastSS);
Color nonCanColor = getNotCanonicalColor(lastSS);
drawNotCanonicalAnnot(g, nonCanColor, row_annotations, lastSSX,
x, y, iconOffset, startRes, column, validRes, validEnd);
}
else
{
- System.err.println(
+ jalview.bin.Console.errPrintln(
"rendered with " + renderer.getClass().toString());
}
}
{
if (clipst)
{
- System.err.println(
+ jalview.bin.Console.errPrintln(
"Start clip at : " + yfrom + " (index " + f_i + ")");
}
if (clipend)
{
- System.err.println(
+ jalview.bin.Console.errPrintln(
"End clip at : " + yto + " (index " + f_to + ")");
}
}
;
- System.err.println("Annotation Rendering time:"
+ jalview.bin.Console.errPrintln("Annotation Rendering time:"
+ (System.currentTimeMillis() - stime));
}
;
// lm is not necessary - we can just use fm - could be off by no more
// than 0.5 px
// LineMetrics lm = g.getFontMetrics(ofont).getLineMetrics("Q", g);
- // System.out.println(asc + " " + dec + " " + (asc - lm.getAscent())
+ // jalview.bin.Console.outPrintln(asc + " " + dec + " " + (asc - lm.getAscent())
// + " " + (dec - lm.getDescent()));
double asc = fm.getAscent();
return new Color(0, 80, 255);
default:
- System.out.println("This is not a interaction : " + lastss);
+ jalview.bin.Console.outPrintln("This is not a interaction : " + lastss);
return null;
}