Package io.jmix.ui.component
Interface EntityLinkField<V>
- All Superinterfaces:
Component,Component.BelongToFrame,Component.Editable,Component.Focusable,Component.HasCaption,Component.HasDescription,Component.HasIcon,Field<V>,HasContextHelp,HasHtmlCaption,HasHtmlDescription,HasHtmlSanitizer,HasValidator<V>,HasValue<V>,HasValueSource<V>,Requirable,Validatable
- All Known Implementing Classes:
EntityLinkFieldImpl
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDescribes editor close event.Nested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperNested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEventNested classes/interfaces inherited from interface io.jmix.ui.component.HasValue
HasValue.ValueChangeEvent<V> -
Field Summary
FieldsFields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE -
Method Summary
Modifier and TypeMethodDescriptionaddEditorCloseListener(Consumer<EntityLinkField.EditorCloseEvent> editorCloseListener) Adds editor close listener.getOwner()voidsetCustomClickHandler(Consumer<EntityLinkField> clickHandler) Sets a custom click handler to the field.voidsetMetaClass(MetaClass metaClass) Sets field meta class.voidsetOpenMode(OpenMode openMode) Sets open mode for editor screen.voidsetOwner(ListComponent owner) Sets an owner list componentListComponentto the field.voidSets an editor screen id.voidsetScreenParams(Map<String, Object> params) Methods inherited from interface io.jmix.ui.component.Component
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, withUnwrappedCompositionMethods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrameMethods inherited from interface io.jmix.ui.component.Component.Editable
isEditable, isEditableWithParent, setEditableMethods inherited from interface io.jmix.ui.component.Component.Focusable
focus, getTabIndex, isFocusable, setFocusable, setTabIndexMethods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaptionMethods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescriptionMethods inherited from interface io.jmix.ui.component.Component.HasIcon
getIcon, setIcon, setIconFromSetMethods inherited from interface io.jmix.ui.component.HasContextHelp
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabledMethods inherited from interface io.jmix.ui.component.HasHtmlCaption
isCaptionAsHtml, setCaptionAsHtmlMethods inherited from interface io.jmix.ui.component.HasHtmlDescription
isDescriptionAsHtml, setDescriptionAsHtmlMethods inherited from interface io.jmix.ui.component.HasHtmlSanitizer
isHtmlSanitizerEnabled, setHtmlSanitizerEnabledMethods inherited from interface io.jmix.ui.component.HasValidator
addValidator, addValidators, getValidators, removeValidatorMethods inherited from interface io.jmix.ui.component.HasValue
addValueChangeListener, clear, getEmptyValue, getValue, isEmpty, setValueMethods inherited from interface io.jmix.ui.component.data.HasValueSource
getValueSource, setValueSourceMethods inherited from interface io.jmix.ui.component.Requirable
getRequiredMessage, isRequired, setRequired, setRequiredMessageMethods inherited from interface io.jmix.ui.component.Validatable
isValid, isValidateOnCommit, validate
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
getScreen
- Returns:
- an editor screen id
-
setScreen
Sets an editor screen id.- Parameters:
screen- an editor screen id
-
getOpenMode
OpenMode getOpenMode()- Returns:
- open mode for editor screen
-
setOpenMode
Sets open mode for editor screen.- Parameters:
openMode- open mode
-
getScreenParams
-
setScreenParams
-
addEditorCloseListener
Adds editor close listener.- Parameters:
editorCloseListener- a listener to set- Returns:
- subscription
-
getCustomClickHandler
- Returns:
- click handler
-
setCustomClickHandler
Sets a custom click handler to the field.- Parameters:
clickHandler- click handler
-
getMetaClass
- Returns:
- a field meta class
-
setMetaClass
Sets field meta class.- Parameters:
metaClass- a field meta class
-
getOwner
- Returns:
- owner list component
-
setOwner
Sets an owner list componentListComponentto the field.- Parameters:
owner- owner list component
-