public class RichTextAreaConnector extends AbstractFieldConnector implements Paintable, ShortcutActionHandler.BeforeShortcutActionListener, SimpleManagedLayout
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 |
onBeforeShortcutAction(com.google.gwt.user.client.Event e)
This method is called by ShortcutActionHandler before firing the
shortcut if the Paintable is currently focused (aka the target of the
shortcut action).
|
void |
onUnregister()
Event called when connector has been unregistered.
|
void |
updateFromUIDL(UIDL uidl,
ApplicationConnection client) |
isModified, isReadOnly, isRequired, updateWidgetStyleNamescreateWidget, delegateCaptionHandling, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasTooltip, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, 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, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, unregisterRpcclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelegateCaptionHandling, getLayoutManager, getTooltipInfo, hasTooltip, isReadOnly, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabledaddStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, updateEnabledStategetConnectorIdprotected void init()
AbstractConnectorinit in class AbstractConnectorpublic void onUnregister()
ServerConnectoronUnregister in interface ServerConnectoronUnregister in class AbstractComponentConnectorpublic void updateFromUIDL(UIDL uidl, ApplicationConnection client)
updateFromUIDL in interface Paintablepublic void onBeforeShortcutAction(com.google.gwt.user.client.Event e)
ShortcutActionHandler.BeforeShortcutActionListeneronBeforeShortcutAction in interface ShortcutActionHandler.BeforeShortcutActionListenere - the event that triggered the shortcut actionpublic VRichTextArea getWidget()
AbstractComponentConnectorgetWidget in interface ComponentConnectorgetWidget in class AbstractComponentConnectorpublic 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 AbstractComponentConnectorpublic void layout()
layout in interface SimpleManagedLayoutpublic RichTextAreaState getState()
AbstractConnectorgetState in interface ComponentConnectorgetState in interface ServerConnectorgetState in class AbstractFieldConnectorCopyright © 2016 Vaadin Ltd. All rights reserved.