HorizontalLayout buttons = new HorizontalLayout();
buttons.setSpacing(true);
buttons.setMargin(true);
container.addComponent(buttons);
Button normal = new Button("Default");
normal.addStyleName(Bootstrap.Buttons.DEFAULT.styleName());
Button primary = new Button("Primary");
primary.addStyleName(Bootstrap.Buttons.PRIMARY.styleName());
Button success = new Button("Success");
success.addStyleName(Bootstrap.Buttons.SUCCESS.styleName());
Button info = new Button("Info");
info.addStyleName(Bootstrap.Buttons.INFO.styleName());
Button warning = new Button("Warning");
warning.addStyleName(Bootstrap.Buttons.WARNING.styleName());
Button danger = new Button("Danger");
danger.addStyleName(Bootstrap.Buttons.DANGER.styleName());
Button link = new Button("Link");
link.addStyleName(Bootstrap.Buttons.LINK.styleName());
buttons.addComponents(normal, primary, info, success, warning, danger,
link);
}