String trClass = ( i % 2 == 0 ) ? "col0" : "col1"; //$NON-NLS-1$ //$NON-NLS-2$
// first line with seq and control number/code
html.openTr(trClass).td(""); //$NON-NLS-1$
for (int j = 0; j < limit; j++) {
SplitTime split = splits[j + rowStart];
String label = split.seq;
if( split.trace != null ){
label += " (" + split.trace.getBasicCode() +")"; //$NON-NLS-1$ //$NON-NLS-2$
}
html.td(label);
}
html.closeTr();
// second line is cumulative split since start
html.openTr(trClass).td(""); //$NON-NLS-1$
for (int j = 0; j < limit; j++) {
int k = j + rowStart;
SplitTime split = splits[k];
String label = TimeManager.time(split.time);
long best = 0;
if( k < bestSplits.length ){
best = bestSplits[k].time;
}
showWithBestSplit(label, split.time, best, html);
}
html.closeTr();
// third line is partial split since previous ok punch
html.openTr(trClass).td(""); //$NON-NLS-1$
for (int j = 0; j < limit; j++) {
int k = j + rowStart;
SplitTime split = splits[k];
String label = TimeManager.time(split.split);
if( split.trace!=null && ! split.trace.isOK() ) {
label = " "; //$NON-NLS-1$
}
long best = 0;