Class CmsAutoGrowingTextArea
java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractExtension
org.opencms.ui.components.extensions.CmsAutoGrowingTextArea
- All Implemented Interfaces:
com.vaadin.event.MethodEventSource,com.vaadin.server.ClientConnector,com.vaadin.server.Extension,com.vaadin.shared.Connector,Serializable
Extension to add a CSS class to any component depending on it's scroll position.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener -
Constructor Summary
ConstructorsConstructorDescriptionCmsAutoGrowingTextArea(com.vaadin.v7.ui.TextArea textArea, int maxRows) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddTo(com.vaadin.v7.ui.TextArea textArea, int maxRows) Adds the text area auto grow extension to the given component.protected CmsAutoGrowingTextAreaStategetState()Methods inherited from class com.vaadin.server.AbstractExtension
extend, getParent, getSupportedParentType, remove, setParentMethods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, attach, beforeClientResponse, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getState, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerMethods inherited from interface com.vaadin.shared.Connector
getConnectorId
-
Constructor Details
-
CmsAutoGrowingTextArea
Constructor.- Parameters:
textArea- the text area to extendmaxRows- the maximal number of rows (invalid input: '<'1 for unlimited)
-
-
Method Details
-
addTo
Adds the text area auto grow extension to the given component.- Parameters:
textArea- the text area to extendmaxRows- the maximal number of rows (invalid input: '<'1 for unlimited)
-
getState
- Overrides:
getStatein classcom.vaadin.server.AbstractClientConnector- See Also:
-