V
- type of value@StudioComponent(caption="EntitySuggestionField", category="Components", xmlElement="entitySuggestionField", icon="io/jmix/ui/icon/component/entitySuggestionField.svg", canvasBehaviour=VALUE_PICKER, documentationURL="https://docs.jmix.io/jmix/%VERSION%/backoffice-ui/vcl/components/entity-suggestion-field.html", unsupportedProperties={"buffered","fieldEditable"}) public interface EntitySuggestionField<V> extends SuggestionField<V>, EntityPicker<V>
SuggestionFieldComponent.ArrowDownEvent, SuggestionFieldComponent.ParametrizedSearchExecutor<E>, SuggestionFieldComponent.SearchExecutor<E>
HasEnterPressHandler.EnterPressEvent
EntityPicker.EntityPickerAction
ValuePicker.FieldValueChangeEvent<V>, ValuePicker.ValuePickerAction
HasValue.ValueChangeEvent<V>
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
HasContextHelp.ContextHelpIconClickEvent
LookupComponent.LookupSelectionChangeEvent<T>, LookupComponent.LookupSelectionChangeNotifier<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
POPUP_AUTO_WIDTH, POPUP_PARENT_WIDTH
TYPE_STRING
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
Modifier and Type | Method and Description |
---|---|
static <T> org.springframework.core.ParameterizedTypeReference<EntitySuggestionField<T>> |
of(java.lang.Class<T> valueClass) |
void |
setSearchExecutor(SuggestionFieldComponent.SearchExecutor<V> searchExecutor)
Sets
SuggestionFieldComponent.SearchExecutor which performs search. |
getArrowDownHandler, getAsyncSearchDelayMs, getMinSearchStringLength, getPopupWidth, getSearchExecutor, getSuggestionsLimit, setArrowDownHandler, setAsyncSearchDelayMs, setMinSearchStringLength, setPopupWidth, setSuggestionsLimit, showSuggestions
getInputPrompt, setInputPrompt
getOptionStyleProvider, setOptionStyleProvider
getEnterPressHandler, setEnterPressHandler
getMetaClass, setMetaClass
addFieldValueChangeListener, getFieldIconProvider, isFieldEditable, setFieldEditable, setFieldIconProvider
getValueSource, setValueSource
addValueChangeListener, clear, getEmptyValue, getValue, isEmpty, setValue
isEditable, isEditableWithParent, setEditable
getFrame, setFrame
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
isValid, isValidateOnCommit, validate
getIcon, setIcon, setIconFromSet
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled
isCaptionAsHtml, setCaptionAsHtml
isDescriptionAsHtml, setDescriptionAsHtml
isHtmlSanitizerEnabled, setHtmlSanitizerEnabled
addValidator, addValidators, getValidators, removeValidator
getRequiredMessage, isRequired, setRequired, setRequiredMessage
getFormatter, setFormatter
addAction, addAction, getAction, getActionNN, getActions, getSubPart, removeAction, removeAction, removeAllActions
commit, discard, isBuffered, isModified, setBuffered
focus, getTabIndex, isFocusable, setFocusable, setTabIndex
setValueFromUser
getLookupSelectedItems, setLookupSelectHandler
static final java.lang.String NAME
static <T> org.springframework.core.ParameterizedTypeReference<EntitySuggestionField<T>> of(java.lang.Class<T> valueClass)
of
in interface EntityPicker<V>
of
in interface SuggestionField<V>
of
in interface ValuePicker<V>
void setSearchExecutor(@Nullable SuggestionFieldComponent.SearchExecutor<V> searchExecutor)
SuggestionFieldComponent
SuggestionFieldComponent.SearchExecutor
which performs search.setSearchExecutor
in interface SuggestionFieldComponent<V,V>
searchExecutor
- SearchExecutor instance