Package org.jacoco.report.internal.html

Examples of org.jacoco.report.internal.html.HTMLElement.attr()


  }

  private void body(final HTMLElement body) throws IOException {
    body.attr("onload", getOnload());
    final HTMLElement navigation = body.div(Styles.BREADCRUMB);
    navigation.attr("id", "breadcrumb");
    infoLinks(navigation.span(Styles.RIGHT));
    breadcrumb(navigation, folder);
    body.h1().text(getLinkLabel());
    content(body);
    footer(body);
View Full Code Here


      final List<? extends ITableItem> items, final ICoverageNode total,
      final Resources resources, final ReportOutputFolder base)
      throws IOException {
    final List<? extends ITableItem> sortedItems = sort(items);
    final HTMLElement table = parent.table(Styles.COVERAGETABLE);
    table.attr("id", "coveragetable");
    header(table, sortedItems, total, resources, base);
    footer(table, total, resources, base);
    body(table, sortedItems, resources, base);
  }
View Full Code Here

        final ICoverageNode total) throws IOException {
      visible = renderer.init(items, total);
      if (visible) {
        index.init(items);
        final HTMLElement td = tr.td(headerStyle);
        td.attr("id", String.valueOf(idprefix));
        td.attr("onclick", "toggleSort(this)");
        td.text(header);
      }
    }
View Full Code Here

      visible = renderer.init(items, total);
      if (visible) {
        index.init(items);
        final HTMLElement td = tr.td(headerStyle);
        td.attr("id", String.valueOf(idprefix));
        td.attr("onclick", "toggleSort(this)");
        td.text(header);
      }
    }

    void footer(final HTMLElement tr, final ICoverageNode total,
View Full Code Here

    void body(final HTMLElement tr, final int idx, final ITableItem item,
        final Resources resources, final ReportOutputFolder base)
        throws IOException {
      if (visible) {
        final HTMLElement td = tr.td(style);
        td.attr("id", idprefix + String.valueOf(index.getPosition(idx)));
        renderer.item(td, item, resources, base);
      }
    }

  }
View Full Code Here

  }

  private void body(final HTMLElement body) throws IOException {
    body.attr("onload", getOnload());
    final HTMLElement navigation = body.div(Styles.BREADCRUMB);
    navigation.attr("id", "breadcrumb");
    infoLinks(navigation.span(Styles.RIGHT));
    breadcrumb(navigation, folder);
    body.h1().text(getLinkLabel());
    content(body);
    footer(body);
View Full Code Here

      final List<? extends ITableItem> items, final ICoverageNode total,
      final Resources resources, final ReportOutputFolder base)
      throws IOException {
    final List<? extends ITableItem> sortedItems = sort(items);
    final HTMLElement table = parent.table(Styles.COVERAGETABLE);
    table.attr("id", "coveragetable");
    header(table, sortedItems, total);
    footer(table, total, resources, base);
    body(table, sortedItems, resources, base);
  }
View Full Code Here

        final ICoverageNode total) throws IOException {
      visible = renderer.init(items, total);
      if (visible) {
        index.init(items);
        final HTMLElement td = tr.td(headerStyle);
        td.attr("id", String.valueOf(idprefix));
        td.attr("onclick", "toggleSort(this)");
        td.text(header);
      }
    }
View Full Code Here

      visible = renderer.init(items, total);
      if (visible) {
        index.init(items);
        final HTMLElement td = tr.td(headerStyle);
        td.attr("id", String.valueOf(idprefix));
        td.attr("onclick", "toggleSort(this)");
        td.text(header);
      }
    }

    void footer(final HTMLElement tr, final ICoverageNode total,
View Full Code Here

    void body(final HTMLElement tr, final int idx, final ITableItem item,
        final Resources resources, final ReportOutputFolder base)
        throws IOException {
      if (visible) {
        final HTMLElement td = tr.td(style);
        td.attr("id", idprefix + String.valueOf(index.getPosition(idx)));
        renderer.item(td, item, resources, base);
      }
    }

  }
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.