Class CmsAutoGrowingTextAreaConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.extensions.AbstractExtensionConnector
org.opencms.ui.client.CmsAutoGrowingTextAreaConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ServerConnector, com.vaadin.shared.Connector, 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:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    extend(com.vaadin.client.ServerConnector target)
     
    org.opencms.ui.shared.components.CmsAutoGrowingTextAreaState
     
    protected void
    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
  • Constructor Details

  • Method Details

    • 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.