Example usage for com.vaadin.server Sizeable setHeight

List of usage examples for com.vaadin.server Sizeable setHeight

Introduction

In this page you can find the example usage for com.vaadin.server Sizeable setHeight.

Prototype

public void setHeight(float height, Unit unit);

Source Link

Document

Sets the height of the object.

Usage

From source file:com.vaadHL.utl.state.ScreenInfo.java

License:Apache License

/**
 * Changes size of a screen object/*from  w  w  w.  j  av a  2  s . com*/
 * 
 * @param si
 *            the screen object implementing the {@link Sizeable} interface
 */
public void applyTo(Sizeable si) {
    si.setHeight(getHeight(), getHeightUnits());
    si.setWidth(getWidth(), getWidthUnits());
}