List of usage examples for com.vaadin.ui AbstractComponent setWidthUndefined
@Override public void setWidthUndefined()
From source file:de.symeda.sormas.ui.dashboard.statistics.DashboardStatisticsSubComponent.java
License:Open Source License
public void addComponentToCountLayout(CssLayout countLayout, AbstractComponent countElement) { countElement.setWidthUndefined(); countElement.addStyleName(CssStyles.HSPACE_RIGHT_3); countLayout.addComponent(countElement); }
From source file:de.symeda.sormas.ui.dashboard.statistics.DashboardStatisticsSubComponent.java
License:Open Source License
public void addComponentToContent(AbstractComponent component, Alignment alignment) { if (contentLayout != null) { component.setWidthUndefined(); contentLayout.addComponent(component); contentLayout.setComponentAlignment(component, alignment); }/*from w w w . j a v a 2 s . c o m*/ }
From source file:org.balisunrise.vaadin.components.Sizes.java
License:Open Source License
public void applyWidth(AbstractComponent component) { switch (this) { case UNDEFINED: component.setWidthUndefined(); break;//from w ww. ja v a 2s . c o m default: component.setWidth(this.toSize()); } }