private void updateTop(MavenProject project, HtmlCanvas html, boolean last, boolean nextIsEmpty) throws IOException { if (project == null) return; SiteTop siteTop = new SiteTop(project); updateTop(project.getParent(), html, false, siteTop.caption.isEmpty()); html.render(siteTop); if (!last && !nextIsEmpty) { html .span(class_("brand") ) .write("/") ._span() ; } }
private static void writeStatusLegend() throws IOException { html.write("<svg width=\"200\" height=\"200\">", NO_ESCAPE); html.write("<rect width=\"15\" height=\"15\" x=\"0\" y=\"0\" style=\"fill:#a2bf2f\"/>", NO_ESCAPE); html.write("<text x=\"20\" y=\"13\" fill=\"black\">Approved</text>", NO_ESCAPE); html.write("<rect width=\"15\" height=\"15\" x=\"0\" y=\"20\" style=\"fill:#1cbfbb\"/>", NO_ESCAPE); html.write("<text x=\"20\" y=\"33\" fill=\"black\">Pending</text>", NO_ESCAPE); html.write("<rect width=\"15\" height=\"15\" x=\"0\" y=\"40\" style=\"fill:#bfa22f\"/>", NO_ESCAPE); html.write("<text x=\"20\" y=\"53\" fill=\"black\">Extension</text>", NO_ESCAPE); html.write("<rect width=\"15\" height=\"15\" x=\"0\" y=\"60\" style=\"fill:#606060 \"/>", NO_ESCAPE); html.write("<text x=\"20\" y=\"73\" fill=\"black\">Deprecated</text>", NO_ESCAPE); html.write("<rect width=\"15\" height=\"15\" x=\"0\" y=\"80\" style=\"fill:#1bff95 \"/>", NO_ESCAPE); html.write("<text x=\"20\" y=\"93\" fill=\"black\">Clarification</text>", NO_ESCAPE); html.write("</svg>"); html._span(); }
private static void writeImplmntLegend() throws IOException { html.write("<svg width=\"200\" height=\"200\">", NO_ESCAPE); html.write("<rect width=\"15\" height=\"15\" x=\"0\" y=\"0\" style=\"fill:#0099cc\"/>", NO_ESCAPE); html.write("<text x=\"20\" y=\"13\" fill=\"black\">Automated</text>", NO_ESCAPE); html.write("<rect width=\"15\" height=\"15\" x=\"0\" y=\"20\" style=\"fill:#bf1c56\"/>", NO_ESCAPE); html.write("<text x=\"20\" y=\"33\" fill=\"black\">Not Implemented</text>", NO_ESCAPE); html.write("<rect width=\"15\" height=\"15\" x=\"0\" y=\"40\" style=\"fill:#8d1cbf\"/>", NO_ESCAPE); html.write("<text x=\"20\" y=\"53\" fill=\"black\">Client Only</text>", NO_ESCAPE); html.write("<rect width=\"15\" height=\"15\" x=\"0\" y=\"60\" style=\"fill:#3300cc\"/>", NO_ESCAPE); html.write("<text x=\"20\" y=\"73\" fill=\"black\">Manual</text>", NO_ESCAPE); html.write("<rect width=\"15\" height=\"15\" x=\"0\" y=\"80\" style=\"fill:#ffcc66 \"/>", NO_ESCAPE); html.write("<text x=\"20\" y=\"93\" fill=\"black\">Indirect</text>", NO_ESCAPE); html.write("</svg>"); html._span(); }
labelName = shortClassName; html.span(id(normalizedName)).write(labelName)._span();