List of usage examples for com.vaadin.ui TextArea getRows
public int getRows()
From source file:org.opencms.ui.components.extensions.CmsAutoGrowingTextArea.java
License:Open Source License
/** * Constructor.<p>// ww w . jav a 2s . c om * * @param textArea the text area to extend * @param maxRows the maximal number of rows (<1 for unlimited) */ public CmsAutoGrowingTextArea(TextArea textArea, int maxRows) { super.extend(textArea); getState().setMaxRows(maxRows); getState().setMinRows(textArea.getRows()); }