@Test public void resolveBorderColor() { assertEquals(null, cell.getBorderColorTop()); tag.getCSS().put("border-color-top", "red"); tag.getCSS().put("border-color-left", "#0f0"); tag.getCSS().put("border-color-right", "#0000ff"); tag.getCSS().put("border-color-bottom", "rgb(000,111,222)"); applier.apply(cell, tag, config,config); assertEquals(BaseColor.RED, cell.getCellValues().getBorderColorTop()); assertEquals(BaseColor.GREEN, cell.getCellValues().getBorderColorLeft()); assertEquals(BaseColor.BLUE, cell.getCellValues().getBorderColorRight()); assertEquals(new BaseColor(000,111,222), cell.getCellValues().getBorderColorBottom()); }
public HtmlCell apply(final HtmlCell cell, final Tag t, final MarginMemory memory, final PageSizeContainable psc) { return apply(cell, t, memory, psc, null); }
HtmlCellCssApplier implements CssApplier<HtmlCell> { public HtmlCell apply(final HtmlCell cell, final Tag t, final MarginMemory memory, final PageSizeContainable psc) { return apply(cell, t, memory, psc, null); } }
HtmlCellCssApplier implements CssApplier<HtmlCell> { public HtmlCell apply(final HtmlCell cell, final Tag t, final MarginMemory memory, final PageSizeContainable psc) { return apply(cell, t, memory, psc, null); }  }
HtmlCellCssApplier implements CssApplier<HtmlCell> { public HtmlCell apply(final HtmlCell cell, final Tag t, final MarginMemory memory, final PageSizeContainable psc) { return apply(cell, t, memory, psc, null); }  HtmlCell apply(final HtmlCell cell, final Tag t, final MarginMemory memory, final PageSizeContainable psc); HtmlCell apply(final HtmlCell cell, final Tag t, final MarginMemory memory, final PageSizeContainable psc, final HtmlPipelineContext ctx); }
HtmlCellCssApplier implements CssApplier<HtmlCell> { public HtmlCell apply(final HtmlCell cell, final Tag t, final MarginMemory memory, final PageSizeContainable psc) { return apply(cell, t, memory, psc, null); }  HtmlCell apply(final HtmlCell cell, final Tag t, final MarginMemory memory, final PageSizeContainable psc); HtmlCell apply(final HtmlCell cell, final Tag t, final MarginMemory memory, final PageSizeContainable psc, final HtmlPipelineContext ctx);  }