public abstract class AbstractFieldConnector extends AbstractComponentConnector
SIGNIFICANT_MOVE_THRESHOLD
Constructor and Description |
---|
AbstractFieldConnector() |
Modifier and Type | Method and Description |
---|---|
AbstractFieldState |
getState()
Returns the shared state object for this connector.
|
boolean |
isModified() |
boolean |
isReadOnly()
Checks if the connector is read only.
|
boolean |
isRequired()
Checks whether the required indicator should be shown for the field.
|
protected void |
updateWidgetStyleNames()
Updates the user defined, read-only and error style names for the widget
based the shared state.
|
createWidget, delegateCaptionHandling, flush, getIcon, getIconUri, getLayoutManager, getTooltipInfo, getWidget, hasTooltip, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onStateChanged, onUnregister, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSize
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, hasEventListener, init, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, unregisterRpc
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent
getConnectorId
public AbstractFieldState getState()
AbstractConnector
getState
in interface ComponentConnector
getState
in interface ServerConnector
getState
in class AbstractComponentConnector
public boolean isReadOnly()
ComponentConnector
isReadOnly
in interface ComponentConnector
isReadOnly
in class AbstractComponentConnector
public boolean isModified()
public boolean isRequired()
protected void updateWidgetStyleNames()
AbstractComponentConnector
AbstractComponentConnector.getWidget()
This method can be overridden to provide additional style names for the
component, for example see
updateWidgetStyleNames()
updateWidgetStyleNames
in class AbstractComponentConnector
Copyright © 2016 Vaadin Ltd. All rights reserved.