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:
Serializable
The scroll position CSS shared state.
- See Also:
-
Field Summary
Fields inherited from class com.vaadin.shared.AbstractComponentState
caption, captionAsHtml, description, descriptionContentMode, errorLevel, errorMessage, height, id, primaryStyleName, styles, widthFields inherited from class com.vaadin.shared.communication.SharedState
enabled, registeredEventListeners, resources -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the maximal number of rows.intReturns the minimal number of rows.voidsetMaxRows(int maxRows) Sets the maximal number of rows.voidsetMinRows(int minRows) Sets the minimal number of rows.
-
Constructor Details
-
CmsAutoGrowingTextAreaState
public CmsAutoGrowingTextAreaState()
-
-
Method Details
-
getMaxRows
Returns the maximal number of rows.- Returns:
- the maximal number of rows
-
getMinRows
Returns the minimal number of rows.- Returns:
- the minimal number of rows
-
setMaxRows
Sets the maximal number of rows.- Parameters:
maxRows- the maximal number of rows
-
setMinRows
Sets the minimal number of rows.- Parameters:
minRows- the minimal number of rows
-