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 SummaryFields inherited from class com.vaadin.shared.AbstractComponentStatecaption, captionAsHtml, description, descriptionContentMode, errorLevel, errorMessage, height, id, primaryStyleName, styles, widthFields inherited from class com.vaadin.shared.communication.SharedStateenabled, registeredEventListeners, resources
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
CmsAutoGrowingTextAreaStatepublic CmsAutoGrowingTextAreaState()
 
- 
- 
Method Details- 
getMaxRowsReturns the maximal number of rows.- Returns:
- the maximal number of rows
 
- 
getMinRowsReturns the minimal number of rows.- Returns:
- the minimal number of rows
 
- 
setMaxRowsSets the maximal number of rows.- Parameters:
- maxRows- the maximal number of rows
 
- 
setMinRowsSets the minimal number of rows.- Parameters:
- minRows- the minimal number of rows
 
 
-