THIS - Self-referential generic THISpublic interface FluentCustomField<THIS extends FluentCustomField<THIS,T>,T> extends FluentAbstractField<THIS,T>, FluentHasComponents<THIS>
CustomFieldCustomFieldcom.vaadin.data.HasValue.ValueChangeEvent<V>, com.vaadin.data.HasValue.ValueChangeListener<V>FluentComponent.FluentFocusable<C extends FluentComponent.FluentFocusable<C>>com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListenercom.vaadin.server.Sizeable.UnitFluentHasComponents.FluentComponentAttachDetachNotifier<THIS extends FluentHasComponents<THIS>>com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener| Modifier and Type | Method and Description |
|---|---|
default THIS |
withFocusDelegate(com.vaadin.ui.Component.Focusable focusDelegate)
Sets the component to which all methods from the
Focusable
interface should be delegated. |
withCaption, withCaptionAsHtml, withComponentError, withData, withDescription, withDescription, withLocale, withResponsive, withShortcutListener, withStyleNamewithAttachListener, withDetachListenerwithContextClickListeneraddContextClickListener, removeContextClickListenerwithReadOnly, withRequiredIndicatorVisible, withValue, withValueChangeListeneraddValueChangeListener, clear, getDefaultValidator, getEmptyValue, getOptionalValue, getValue, isEmpty, isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible, setValuewithTabIndexwithCaption, withEnabled, withIcon, withId, withParent, withPrimaryStyleName, withStyleName, withStyleName, withVisibleaddListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible, writeDesignaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerwithFullHeight, withFullSize, withFullWidth, withHeight, withHeight, withSize, withUndefinedHeight, withUndefinedSize, withUndefinedWidth, withWidth, withWidthgetHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefinedforEach, spliteratordefault THIS withFocusDelegate(com.vaadin.ui.Component.Focusable focusDelegate)
Focusable
interface should be delegated.
Set this to a wrapped field to include that field in the tabbing order,
to make it receive focus when Component.Focusable.focus() is called and to make it
be correctly focused when used as a Grid editor component.
By default, Focusable events are handled by the super class and
ultimately ignored.
focusDelegate - the focusable component to which focus events are redirectedCustomField.setFocusDelegate(com.vaadin.ui.Component.Focusable)Copyright © 2017 Jean-Christophe Fortier. All rights reserved.