List of usage examples for com.vaadin.ui AbstractOrderedLayout addStyleName
@Override public void addStyleName(String style)
From source file:org.semanticsoft.vaaclipse.presentation.renderers.AreaRenderer.java
License:Open Source License
@Override public void createWidget(MUIElement element, MElementContainer<MUIElement> parent) { if (!(element instanceof MArea)) return;/*from ww w. ja v a 2s . co m*/ MArea area = (MArea) element; AbstractOrderedLayout areaComp; if (area.isHorizontal()) areaComp = new HorizontalLayout(); else { ExtendedVerticalLayout bi = new ExtendedVerticalLayout(); bi.setVariableValue("e4ElementType", "area"); areaComp = bi; } areaComp.addStyleName("area"); areaComp.setSizeFull(); element.setWidget(areaComp); }