Class CmsAutoGrowingTextAreaConnector

  • All Implemented Interfaces:
    com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ServerConnector, com.vaadin.shared.Connector, java.io.Serializable

    public class CmsAutoGrowingTextAreaConnector
    extends com.vaadin.client.extensions.AbstractExtensionConnector
    This connector will manipulate the CSS classes of the extended widget depending on the scroll position.

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void extend​(com.vaadin.client.ServerConnector target)  
      org.opencms.ui.shared.components.CmsAutoGrowingTextAreaState getState()  
      protected void handle()
      Resize the text area.
      • Methods inherited from class com.vaadin.client.extensions.AbstractExtensionConnector

        setParent
      • Methods inherited from class com.vaadin.client.ui.AbstractConnector

        addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, init, isEnabled, onStateChanged, onUnregister, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setTag, unregisterRpc, updateEnabledState
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getState

        public org.opencms.ui.shared.components.CmsAutoGrowingTextAreaState getState()
        Specified by:
        getState in interface com.vaadin.client.ServerConnector
        Overrides:
        getState in class com.vaadin.client.ui.AbstractConnector
        See Also:
        AbstractConnector.getState()
      • extend

        protected void extend​(com.vaadin.client.ServerConnector target)
        Specified by:
        extend in class com.vaadin.client.extensions.AbstractExtensionConnector
        See Also:
        AbstractExtensionConnector.extend(com.vaadin.client.ServerConnector)
      • handle

        protected void handle()
        Resize the text area.