@Deprecated public class WebEntityLinkField<V> extends io.jmix.ui.component.impl.EntityLinkFieldImpl<V> implements EntityLinkField<V>
EntityLinkField.EntityLinkClickHandler, EntityLinkField.ScreenCloseListener
io.jmix.ui.component.EntityLinkField.EditorCloseEvent<V>
Field.Validator<T>
Modifier and Type | Field and Description |
---|---|
protected EntityLinkField.ScreenCloseListener |
screenCloseListener
Deprecated.
|
protected WindowManager.OpenType |
screenOpenType
Deprecated.
|
clickHandler, closeListenerSubscription, datatypeRegistry, EMPTY_VALUE_STYLENAME, messages, metaClass, metadata, metadataTools, owner, screen, screenBuilders, screenOpenMode, screenParams, windowConfig
editable, parentEditableChangeListener, validators, VALIDATORS_LIST_INITIAL_CAPACITY
internalValue, uiTestIdsSupport, valueBinding
Constructor and Description |
---|
WebEntityLinkField()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addValidator(java.util.function.Consumer<? super V> validator)
Deprecated.
|
protected void |
afterCommitOpenedEntity(java.lang.Object item)
Deprecated.
|
protected CollectionDatasource |
getCollectionDatasourceFromOwner()
Deprecated.
|
ListComponent |
getOwner()
Deprecated.
|
EntityLinkField.ScreenCloseListener |
getScreenCloseListener()
Deprecated.
|
WindowManager.OpenType |
getScreenOpenType()
Deprecated.
|
void |
removeValidator(java.util.function.Consumer<V> validator)
Deprecated.
|
void |
setCustomClickHandler(EntityLinkField.EntityLinkClickHandler clickHandler)
Deprecated.
Sets a custom click handler to the field.
|
void |
setScreenCloseListener(EntityLinkField.ScreenCloseListener closeListener)
Deprecated.
Sets listener to handle close window event.
|
void |
setScreenOpenType(WindowManager.OpenType screenOpenType)
Deprecated.
|
protected void |
setValueSilently(V item)
Deprecated.
Sets value to the component without changing a modify state of Datasource.
|
addEditorCloseListener, afterPropertiesSet, createComponent, fireEditorCloseEvent, focus, getCollectionContainerFromOwner, getCustomClickHandler, getMetaClass, getMetaPropertyForEditedValue, getOpenMode, getScreen, getScreenParams, getStyleName, getTabIndex, initComponent, openEntityEditor, setCustomClickHandler, setDatatypeRegistry, setMessages, setMetaClass, setMetadata, setMetadataTools, setOpenMode, setOwner, setScreen, setScreenBuilders, setScreenParams, setTabIndex, setValue, setWindowConfig
addValidator, attachValueChangeListener, getDatatypeConversionErrorMsg, getErrorMessage, getRequiredMessage, getValidators, isEditable, isRequired, isValid, removeValidator, setEditable, setEditableToComponent, setParent, setRequired, setRequiredMessage, setupComponentErrorProvider, triggerValidators, validate
addValueChangeListener, commit, componentValueChanged, convertToModel, convertToPresentation, discard, fieldValueEquals, getValue, getValueSource, isBuffered, isModified, setBuffered, setUiTestId, setUiTestIdsSupport, setValueSource, setValueToPresentation, valueBindingActivated, valueBindingConnected
addAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEditorCloseListener, getCustomClickHandler, getMetaClass, getOpenMode, getScreen, getScreenParams, setCustomClickHandler, setMetaClass, setOpenMode, setOwner, setScreen, setScreenParams
focus, getTabIndex, isFocusable, setFocusable, setTabIndex
addValidators, getDatasource, getMetaProperty, getMetaPropertyPath, setDatasource
isEditable, isEditableWithParent, setEditable
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
protected WindowManager.OpenType screenOpenType
protected EntityLinkField.ScreenCloseListener screenCloseListener
public WindowManager.OpenType getScreenOpenType()
public void setScreenOpenType(WindowManager.OpenType screenOpenType)
screenOpenType
- open type@Nullable public EntityLinkField.ScreenCloseListener getScreenCloseListener()
public void setScreenCloseListener(@Nullable EntityLinkField.ScreenCloseListener closeListener)
EntityLinkField
Screen
the window parameter will
be null. closeListener
- a listener to setpublic void setCustomClickHandler(@Nullable EntityLinkField.EntityLinkClickHandler clickHandler)
EntityLinkField
clickHandler
- click handlerpublic void addValidator(java.util.function.Consumer<? super V> validator)
public void removeValidator(java.util.function.Consumer<V> validator)
@Nullable public ListComponent getOwner()
protected void afterCommitOpenedEntity(java.lang.Object item)
afterCommitOpenedEntity
in class io.jmix.ui.component.impl.EntityLinkFieldImpl<V>
protected void setValueSilently(@Nullable V item)
setValueSilently
in class io.jmix.ui.component.impl.EntityLinkFieldImpl<V>
item
- value@Deprecated protected CollectionDatasource getCollectionDatasourceFromOwner()