/** * Method declaration * * @return * @see */ public String getIconsPath() { /* * if (iconsPath == null) { ResourceLocator generalSettings = new * ResourceLocator("com.stratelia.webactiv.general", "fr"); iconsPath = * generalSettings.getString("ApplicationURL") + * GraphicElementFactory.getSettings().getString("IconsPath"); } return iconsPath; */ return GraphicElementFactory.getIconsPath(); }
static { String iconsPath = GraphicElementFactory.getIconsPath(); StringBuilder buffer = new StringBuilder(); buffer.append("<td>\n"); buffer.append("<table border=0 cellspacing=0 cellpadding=0>\n"); buffer.append("<tr>\n"); buffer .append("<td colspan=3 rowspan=3><img src=\"") .append(iconsPath) .append("/tabs/bt2_hg.gif\"></td>\n"); buffer .append("<td bgcolor=#999999><img src=\"") .append(iconsPath) .append("/tabs/1px.gif\"></td>\n"); buffer .append("<td colspan=3 rowspan=3><img src=\"") .append(iconsPath) .append("/tabs/bt2_hd.gif\"></td>\n"); buffer.append("</tr>\n"); buffer.append("<tr>\n"); buffer .append("<td bgcolor=#FFFFFF width=1><img src=\"") .append(iconsPath) .append("/tabs/1px.gif\"></td>\n"); buffer.append("</tr>\n"); buffer.append("<tr>\n"); buffer .append("<td class=ongletColorLight><img src=\"") .append(iconsPath) .append("/tabs/1px.gif\"></td>\n"); buffer.append("</tr>\n"); buffer.append("<tr>\n"); buffer .append("<td bgcolor=#666666><img src=\"") .append(iconsPath) .append("/tabs/1px.gif\"></td>\n"); buffer .append("<td bgcolor=#CCCCCC><img src=\"") .append(iconsPath) .append("/tabs/1px.gif\"></td>\n"); buffer .append("<td class=ongletColorLight><img src=\"") .append(iconsPath) .append("/tabs/1px.gif\"></td>\n"); printBeforeString = buffer.toString(); buffer = new StringBuilder(); buffer .append("<td class=ongletColorDark><img src=\"") .append(iconsPath) .append("/tabs/1px.gif\"></td>\n"); buffer .append("<td bgcolor=#666666><img src=\"") .append(iconsPath) .append("/tabs/1px.gif\"></td>\n"); buffer .append("<td bgcolor=#000000><img src=\"") .append(iconsPath) .append("/tabs/1px.gif\"></td>\n"); buffer.append("</tr>\n"); buffer.append("</table>\n"); buffer.append("</td>\n"); printAfterString = buffer.toString(); buffer = new StringBuilder(); buffer.append("<table width=\"100%\" border=0 cellspacing=0 cellpadding=0>\n"); buffer.append("<tr>\n<td class=\"intfdcolor6\">\n"); buffer.append("<img src=\"").append(iconsPath); buffer.append("/tabs/1px.gif\" width=\"1\" height=\"3\"></td>\n"); buffer.append("</tr>\n"); buffer.append("<tr>\n<td>\n"); buffer.append("<img src=\"").append(iconsPath); buffer.append("/tabs/1px.gif\" width=\"1\" height=\"6\"></td>\n"); buffer.append("</tr>\n"); buffer.append("</table>\n"); printEndString = buffer.toString(); }