Package org.opencms.ui.shared.components
Class CmsAutoGrowingTextAreaState
- java.lang.Object
-
- com.vaadin.shared.communication.SharedState
-
- com.vaadin.shared.AbstractComponentState
-
- org.opencms.ui.shared.components.CmsAutoGrowingTextAreaState
-
- All Implemented Interfaces:
java.io.Serializable
public class CmsAutoGrowingTextAreaState extends com.vaadin.shared.AbstractComponentState
The scroll position CSS shared state.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CmsAutoGrowingTextAreaState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxRows()
Returns the maximal number of rows.int
getMinRows()
Returns the minimal number of rows.void
setMaxRows(int maxRows)
Sets the maximal number of rows.void
setMinRows(int minRows)
Sets the minimal number of rows.
-
-
-
Constructor Detail
-
CmsAutoGrowingTextAreaState
public CmsAutoGrowingTextAreaState()
-
-
Method Detail
-
getMaxRows
public int getMaxRows()
Returns the maximal number of rows.- Returns:
- the maximal number of rows
-
getMinRows
public int getMinRows()
Returns the minimal number of rows.- Returns:
- the minimal number of rows
-
setMaxRows
public void setMaxRows(int maxRows)
Sets the maximal number of rows.- Parameters:
maxRows
- the maximal number of rows
-
setMinRows
public void setMinRows(int minRows)
Sets the minimal number of rows.- Parameters:
minRows
- the minimal number of rows
-
-