Class PackagePage

All Implemented Interfaces:
ILinkable, ITableItem

public class PackagePage extends TablePage<IPackageCoverage>
Page showing coverage information for a Java package. The page contains a table with all classes of the package.
  • Constructor Details

  • Method Details

    • render

      public void render() throws IOException
      Description copied from class: ReportPage
      Renders this page's content and optionally additional pages. This method must be called at most once.
      Overrides:
      render in class ReportPage
      Throws:
      IOException - if the page can't be written
    • getOnload

      protected String getOnload()
      Description copied from class: ReportPage
      Returns the onload handler for this page.
      Overrides:
      getOnload in class ReportPage
      Returns:
      handler or null
    • getFileName

      protected String getFileName()
      Description copied from class: ReportPage
      Specifies the local file name of this page.
      Specified by:
      getFileName in class ReportPage
      Returns:
      local file name
    • getLinkLabel

      public String getLinkLabel()
      Description copied from interface: ILinkable
      Returns the display label used for the link.
      Specified by:
      getLinkLabel in interface ILinkable
      Overrides:
      getLinkLabel in class NodePage<IPackageCoverage>
      Returns:
      display label
    • infoLinks

      protected void infoLinks(HTMLElement span) throws IOException
      Description copied from class: ReportPage
      Inserts additional links on the top right corner.
      Overrides:
      infoLinks in class ReportPage
      Parameters:
      span - parent element
      Throws:
      IOException - in case of IO problems with the report writer