public PaddingContent(Content content, double top, double left, double bottom, double right)
{
this.content = content;
this.top = new EmptyContent();
this.left = new EmptyContent();
this.bottom = new EmptyContent();
this.right = new EmptyContent();
setTopPadding(top);
setLeftPadding(left);
setBottomPadding(bottom);
setRightPadding(right);
HorizontalLayout horizontalLayout = new HorizontalLayout();
horizontalLayout.add(this.left);
horizontalLayout.add(this.content);
horizontalLayout.add(this.right);
layout = new VerticalLayout();
layout.add(this.top);
layout.add(horizontalLayout);
layout.add(this.bottom);
this.content.addParent(this);
}