Package nl.lxtreme.ols.util.ExportUtils.HtmlExporter

Examples of nl.lxtreme.ols.util.ExportUtils.HtmlExporter.Element.addChild()


    aExporter.addCssStyle( ".w5 { width: 5%; } " );

    final Element body = aExporter.getBody();
    body.addChild( H1 ).addContent( "JTAG Analysis results" );
    body.addChild( HR );
    body.addChild( DIV ).addAttribute( "class", "date" ).addContent( "Generated: ", "{date-now}" );

    Element table, tr, thead, tbody;

    table = body.addChild( TABLE ).addAttribute( "class", "w100" );
    thead = table.addChild( THEAD );
View Full Code Here


    body.addChild( DIV ).addAttribute( "class", "date" ).addContent( "Generated: ", "{date-now}" );

    Element table, tr, thead, tbody;

    table = body.addChild( TABLE ).addAttribute( "class", "w100" );
    thead = table.addChild( THEAD );
    tr = thead.addChild( TR );
    tr.addChild( TH ).addAttribute( "class", "w44" ).addAttribute( "colspan", "3" );
    tr.addChild( TH ).addAttribute( "class", "w28" ).addAttribute( "colspan", "2" ).addContent( "TDI" );
    tr.addChild( TH ).addAttribute( "class", "w28" ).addAttribute( "colspan", "2" ).addContent( "TDO" );
    tr = thead.addChild( TR );
View Full Code Here

    tr.addChild( TH ).addAttribute( "class", "w28" ).addContent( "State" );
    tr.addChild( TH ).addAttribute( "class", "w8" ).addContent( "Hex" );
    tr.addChild( TH ).addAttribute( "class", "w20" ).addContent( "Bin" );
    tr.addChild( TH ).addAttribute( "class", "w8" ).addContent( "Hex" );
    tr.addChild( TH ).addAttribute( "class", "w20" ).addContent( "Bin" );
    tbody = table.addChild( TBODY );
    tbody.addContent( "{decoded-data}" );

    return aExporter;
  }
View Full Code Here

            final JTAGData data = dataSet.get( i );

            if ( data.isEvent() )
            {
              tr = aParent.addChild( TR ).addAttribute( "style", "background-color: #fefeff;" );
              tr.addChild( TD ).addContent( String.valueOf( i ) );
              tr.addChild( TD ).addContent( Unit.Time.format( aAnalysisResult.getTime( data.getStartSampleIndex() ) ) );
              tr.addChild( TD ).addContent( String.valueOf( data.getDataValue() ) );
              tr.addChild( TD ).addAttribute( "colspan", "4" );
            }
            else
View Full Code Here

            if ( data.isEvent() )
            {
              tr = aParent.addChild( TR ).addAttribute( "style", "background-color: #fefeff;" );
              tr.addChild( TD ).addContent( String.valueOf( i ) );
              tr.addChild( TD ).addContent( Unit.Time.format( aAnalysisResult.getTime( data.getStartSampleIndex() ) ) );
              tr.addChild( TD ).addContent( String.valueOf( data.getDataValue() ) );
              tr.addChild( TD ).addAttribute( "colspan", "4" );
            }
            else
            {
View Full Code Here

            if ( data.isEvent() )
            {
              tr = aParent.addChild( TR ).addAttribute( "style", "background-color: #fefeff;" );
              tr.addChild( TD ).addContent( String.valueOf( i ) );
              tr.addChild( TD ).addContent( Unit.Time.format( aAnalysisResult.getTime( data.getStartSampleIndex() ) ) );
              tr.addChild( TD ).addContent( String.valueOf( data.getDataValue() ) );
              tr.addChild( TD ).addAttribute( "colspan", "4" );
            }
            else
            {
              tr = aParent.addChild( TR );
View Full Code Here

            {
              tr = aParent.addChild( TR ).addAttribute( "style", "background-color: #fefeff;" );
              tr.addChild( TD ).addContent( String.valueOf( i ) );
              tr.addChild( TD ).addContent( Unit.Time.format( aAnalysisResult.getTime( data.getStartSampleIndex() ) ) );
              tr.addChild( TD ).addContent( String.valueOf( data.getDataValue() ) );
              tr.addChild( TD ).addAttribute( "colspan", "4" );
            }
            else
            {
              tr = aParent.addChild( TR );
              tr.addChild( TD ).addContent( String.valueOf( i ) );
View Full Code Here

              tr.addChild( TD ).addAttribute( "colspan", "4" );
            }
            else
            {
              tr = aParent.addChild( TR );
              tr.addChild( TD ).addContent( String.valueOf( i ) );
              tr.addChild( TD ).addContent( Unit.Time.format( aAnalysisResult.getTime( data.getStartSampleIndex() ) ) );
              tr.addChild( TD ).addContent( data.getEventName() );

              BigInteger tdiData = null;
              BigInteger tdoData = null;
View Full Code Here

            }
            else
            {
              tr = aParent.addChild( TR );
              tr.addChild( TD ).addContent( String.valueOf( i ) );
              tr.addChild( TD ).addContent( Unit.Time.format( aAnalysisResult.getTime( data.getStartSampleIndex() ) ) );
              tr.addChild( TD ).addContent( data.getEventName() );

              BigInteger tdiData = null;
              BigInteger tdoData = null;
View Full Code Here

            else
            {
              tr = aParent.addChild( TR );
              tr.addChild( TD ).addContent( String.valueOf( i ) );
              tr.addChild( TD ).addContent( Unit.Time.format( aAnalysisResult.getTime( data.getStartSampleIndex() ) ) );
              tr.addChild( TD ).addContent( data.getEventName() );

              BigInteger tdiData = null;
              BigInteger tdoData = null;

              // Try to coalesce equal timestamps...
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.