List of usage examples for com.vaadin.server Sizeable setWidth
public void setWidth(float width, Unit unit);
From source file:com.vaadHL.utl.state.ScreenInfo.java
License:Apache License
/** * Changes size of a screen object/*from w w w.ja v a 2 s .c o m*/ * * @param si * the screen object implementing the {@link Sizeable} interface */ public void applyTo(Sizeable si) { si.setHeight(getHeight(), getHeightUnits()); si.setWidth(getWidth(), getWidthUnits()); }