private HorizontalLayout createRow(BusinessService service) { HorizontalLayout rowLayout = new HorizontalLayout(); rowLayout.setSizeFull(); rowLayout.setSpacing(true); final Status severity = m_businessServiceManager.getOperationalStatus(service); Label nameLabel = new Label(service.getName()); nameLabel.setSizeFull(); nameLabel.setStyleName("h3"); nameLabel.addStyleName("bright"); nameLabel.addStyleName("severity"); nameLabel.addStyleName(severity.getLabel()); rowLayout.addComponent(nameLabel); return rowLayout; }