public class RichTextAreaConnector extends AbstractFieldConnector implements SimpleManagedLayout, ValueChangeHandler.Owner
SIGNIFICANT_MOVE_THRESHOLD| Constructor and Description |
|---|
RichTextAreaConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Called for the active (focused) connector when a situation occurs that
the focused connector might have buffered changes which need to be
processed before other activity takes place.
|
RichTextAreaState |
getState()
Returns the shared state object for this connector.
|
VRichTextArea |
getWidget()
Returns the widget associated with this paintable.
|
protected void |
init()
Called when the connector has been initialized.
|
void |
layout() |
void |
onUnregister()
Event called when connector has been unregistered.
|
void |
sendValueChange()
Sends the current value to the server, if it has changed.
|
isReadOnly, isRequiredIndicatorVisible, updateWidgetStyleNamescreateWidget, delegateCaptionHandling, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasTooltip, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, onStateChanged, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSizeaddStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpcclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelegateCaptionHandling, getLayoutManager, getTooltipInfo, hasTooltip, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabledaddStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledStategetConnectorIdprotected void init()
AbstractConnectorinit in class AbstractConnectorpublic void onUnregister()
ServerConnectoronUnregister in interface ServerConnectoronUnregister in class AbstractComponentConnectorpublic VRichTextArea getWidget()
AbstractComponentConnectorgetWidget in interface HasWidgetgetWidget in class AbstractComponentConnectorpublic void layout()
layout in interface SimpleManagedLayoutpublic RichTextAreaState getState()
AbstractConnectorgetState in interface ComponentConnectorgetState in interface ServerConnectorgetState in class AbstractFieldConnectorpublic void sendValueChange()
ValueChangeHandler.OwnersendValueChange in interface ValueChangeHandler.Ownerpublic void flush()
ComponentConnectorThis is currently called when the user changes the fragment using the back/forward button in the browser and allows the focused field to submit its value to the server before the fragment change event takes place.
flush in interface ComponentConnectorflush in class AbstractComponentConnectorCopyright © 2023 Vaadin Ltd. All rights reserved.