public class TextFieldConnector extends AbstractFieldConnector implements Paintable, ShortcutActionHandler.BeforeShortcutActionListener
SIGNIFICANT_MOVE_THRESHOLD| Constructor and Description |
|---|
TextFieldConnector() |
| 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.
|
AbstractTextFieldState |
getState()
Returns the shared state object for this connector.
|
VTextField |
getWidget()
Returns the widget associated with this paintable.
|
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 |
updateFromUIDL(UIDL uidl,
ApplicationConnection client) |
isModified, isReadOnly, isRequired, updateWidgetStyleNamescreateWidget, delegateCaptionHandling, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasTooltip, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onStateChanged, onUnregister, 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, init, 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, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, updateEnabledStategetConnectorIdpublic AbstractTextFieldState getState()
AbstractConnectorgetState in interface ComponentConnectorgetState in interface ServerConnectorgetState in class AbstractFieldConnectorpublic void updateFromUIDL(UIDL uidl, ApplicationConnection client)
updateFromUIDL in interface Paintablepublic VTextField getWidget()
AbstractComponentConnectorgetWidget in interface ComponentConnectorgetWidget in class AbstractComponentConnectorpublic void onBeforeShortcutAction(com.google.gwt.user.client.Event e)
ShortcutActionHandler.BeforeShortcutActionListeneronBeforeShortcutAction in interface ShortcutActionHandler.BeforeShortcutActionListenere - the event that triggered the shortcut actionpublic 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 © 2016 Vaadin Ltd. All rights reserved.