}
public Insets getBorder() {
if (border == Insets.NONE && widget.isAttached()) {
Element elem = widget.getElement();
border = new Insets(ComputedStyle.getBorderTopWidth(elem),
ComputedStyle.getBorderLeftWidth(elem),
ComputedStyle.getBorderBottomWidth(elem),
ComputedStyle.getBorderRightWidth(elem));
if (!Insets.NONE.equals(border)) {
WidgetHelper.invalidate(widget);