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, width
Fields inherited from class com.vaadin.shared.communication.SharedState
enabled, registeredEventListeners, resources
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the maximal number of rows.int
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 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
-