Class CmsAutoGrowingTextAreaState

java.lang.Object
com.vaadin.shared.communication.SharedState
com.vaadin.shared.AbstractComponentState
org.opencms.ui.shared.components.CmsAutoGrowingTextAreaState
All Implemented Interfaces:
Serializable

public class CmsAutoGrowingTextAreaState extends com.vaadin.shared.AbstractComponentState
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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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