Package net.geco.control.ResultBuilder

Examples of net.geco.control.ResultBuilder.SplitTime


     
      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 = "&nbsp;"; //$NON-NLS-1$
        }
        long best = 0;
View Full Code Here

TOP

Related Classes of net.geco.control.ResultBuilder.SplitTime

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.