Package com.vaadin.v7.client.ui
Class AbstractFieldConnector
- java.lang.Object
-
- com.vaadin.client.ui.AbstractConnector
-
- com.vaadin.client.ui.AbstractComponentConnector
-
- com.vaadin.v7.client.ui.AbstractLegacyComponentConnector
-
- com.vaadin.v7.client.ui.AbstractFieldConnector
-
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler,StateChangeEvent.StateChangeHandler,ComponentConnector,HasWidget,ServerConnector,HasErrorIndicator,HasRequiredIndicator,com.vaadin.shared.Connector,ComponentConnector,Serializable
- Direct Known Subclasses:
AbstractDateFieldConnector,CheckBoxConnector,ComboBoxConnector,CustomFieldConnector,OptionGroupBaseConnector,ProgressBarConnector,RichTextAreaConnector,SliderConnector,TableConnector,TextFieldConnector
@Deprecated public abstract class AbstractFieldConnector extends AbstractLegacyComponentConnector implements HasRequiredIndicator
Deprecated.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.vaadin.client.ui.AbstractComponentConnector
SIGNIFICANT_MOVE_THRESHOLD
-
-
Constructor Summary
Constructors Constructor Description AbstractFieldConnector()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AbstractFieldStategetState()Deprecated.booleanisErrorIndicatorVisible()Deprecated.booleanisModified()Deprecated.booleanisReadOnly()Deprecated.Checks if the connector is read only.booleanisRequired()Deprecated.UseisRequiredIndicatorVisible()instead.booleanisRequiredIndicatorVisible()Deprecated.Checks whether the required indicator should be shown for the field.protected voidupdateWidgetStyleNames()Deprecated.-
Methods inherited from class com.vaadin.v7.client.ui.AbstractLegacyComponentConnector
getRpcProxy
-
Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector
createWidget, delegateCaptionHandling, flush, getIcon, getIconUri, getLayoutManager, getTooltipInfo, getWidget, hasTooltip, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, onStateChanged, onUnregister, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSize
-
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getStateType, getTag, hasEventListener, init, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpc
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.client.ComponentConnector
delegateCaptionHandling, flush, getLayoutManager, getTooltipInfo, hasTooltip, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabled
-
Methods inherited from interface com.vaadin.client.ServerConnector
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
-
-
-
-
Method Detail
-
getState
public AbstractFieldState getState()
Deprecated.- Specified by:
getStatein interfaceComponentConnector- Specified by:
getStatein interfaceServerConnector- Overrides:
getStatein classAbstractLegacyComponentConnector
-
isReadOnly
public boolean isReadOnly()
Deprecated.Description copied from interface:ComponentConnectorChecks if the connector is read only.- Specified by:
isReadOnlyin interfaceComponentConnector- Overrides:
isReadOnlyin classAbstractLegacyComponentConnector- Returns:
- true
-
isModified
public boolean isModified()
Deprecated.
-
isRequired
@Deprecated public boolean isRequired()
Deprecated.UseisRequiredIndicatorVisible()instead.Checks whether the required indicator should be shown for the field. Required indicators are hidden if the field or its data source is read-only.NOTE: since 8.0 this only delegates to
isRequiredIndicatorVisible(), and is left for legacy reasons.- Returns:
- true if required indicator should be shown
-
isRequiredIndicatorVisible
public boolean isRequiredIndicatorVisible()
Deprecated.Checks whether the required indicator should be shown for the field. Required indicators are hidden if the field or its data source is read-only.- Specified by:
isRequiredIndicatorVisiblein interfaceHasRequiredIndicator- Returns:
- true if required indicator should be shown
-
isErrorIndicatorVisible
public boolean isErrorIndicatorVisible()
Deprecated.- Specified by:
isErrorIndicatorVisiblein interfaceHasErrorIndicator- Overrides:
isErrorIndicatorVisiblein classAbstractComponentConnector
-
updateWidgetStyleNames
protected void updateWidgetStyleNames()
Deprecated.- Overrides:
updateWidgetStyleNamesin classAbstractLegacyComponentConnector
-
-