77787980818283
return boxInsideMargins; } public Border getBorderShaper() { return new Border(getStyle(), boxInsideMargins); }
352353354355356357358359360361362363
@Test public void borderGetUpdatedOnLayout() throws Exception { parent.setSize(100, 100); Border border = parent.getBorderShaper(); parent.getStyle().setBorderWidth("21"); Layouts.on(root); assertEquals(21, border.getTopWidth()); }
216217218219220221222223
} public Border getBorderShaper() { if(borderShaper == null) borderShaper = new Border(getStyle(), getMarginedBounds()); return borderShaper; }