Package io.jmix.ui.component.impl
Class RelatedEntitiesImpl<E>
java.lang.Object
io.jmix.ui.component.impl.AbstractComponent<JmixPopupButton>
io.jmix.ui.component.impl.PopupButtonImpl
io.jmix.ui.component.impl.RelatedEntitiesImpl<E>
- All Implemented Interfaces:
ActionsHolder
,AttachNotifier
,Component
,Component.BelongToFrame
,Component.Focusable
,Component.HasCaption
,Component.HasDescription
,Component.HasIcon
,Component.HasXmlDescriptor
,Component.Wrapper
,HasContextHelp
,HasDebugId
,HasHtmlCaption
,HasHtmlDescription
,HasHtmlSanitizer
,HasSubParts
,PopupButton
,RelatedEntities<E>
,SecuredActionsHolder
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.component.impl.PopupButtonImpl
PopupButtonImpl.PopupMenuButton
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.Wrapper
Nested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEvent
Nested classes/interfaces inherited from interface io.jmix.ui.component.PopupButton
PopupButton.PopupOpenDirection, PopupButton.PopupVisibilityEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected Actions
protected String
protected ListComponent<E>
protected Messages
protected MessageTools
protected MetadataTools
protected OpenMode
protected Map<String,
PropertyOption> protected ScreensHelper
Fields inherited from class io.jmix.ui.component.impl.PopupButtonImpl
actionButtons, actionOrder, actionPropertyChangeListener, actionsPermissions, CONTEXT_MENU_BUTTON_STYLENAME, popupComponent, popupVisibilityListenerRegistration, showActionIcons, vActionsContainer, vPopupComponent
Fields inherited from class io.jmix.ui.component.impl.AbstractComponent
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parent
Fields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
Fields inherited from interface io.jmix.ui.component.PopupButton
NAME
Fields inherited from interface io.jmix.ui.component.RelatedEntities
NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addNavigationAction
(MetaProperty metaProperty) void
addPropertyOption
(PropertyOption propertyOption) protected Action
createRelatedAction
(MetaProperty metaProperty, WindowInfo defaultScreen, PropertyOption propertyOption) protected MetaClass
getMetaClass
(ListComponent<E> listComponent) protected boolean
isSuitableProperty
(MetaClass metaClass, MetaProperty metaProperty, Pattern excludePattern) protected void
void
removePropertyOption
(String property) void
setAccessManager
(AccessManager accessManager) void
setActions
(Actions actions) void
setExcludePropertiesRegex
(String excludeRegex) void
setListComponent
(ListComponent<E> listComponent) void
setMessages
(Messages messages) void
setMessageTools
(MessageTools messageTools) void
setMetadataTools
(MetadataTools metadataTools) void
setOpenMode
(OpenMode openMode) void
setScreensHelper
(ScreensHelper screensHelper) Methods inherited from class io.jmix.ui.component.impl.PopupButtonImpl
actionPropertyChanged, addAction, addAction, addPopupVisibilityListener, createActionButton, createActionsContainer, createComponent, focus, getAction, getActions, getActionsPermissions, getMenuWidth, getMenuWidthSizeUnit, getPopupContent, getPopupOpenDirection, getTabIndex, hasVisibleActions, internalRemovePopupVisibilityListener, isAutoClose, isClosePopupOnOutsideClick, isPopupVisible, isShowActionIcons, isTogglePopupVisibilityOnClick, removeAction, removeAction, removeAllActions, setAutoClose, setClosePopupOnOutsideClick, setDebugId, setMenuWidth, setPopupButtonAction, setPopupButtonIcon, setPopupContent, setPopupOpenDirection, setPopupVisible, setShowActionIcons, setTabIndex, setThemeConstantsManager, setTogglePopupVisibilityOnClick, updateActionsIcons
Methods inherited from class io.jmix.ui.component.impl.AbstractComponent
addAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, 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, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.ui.component.ActionsHolder
getActionNN, getSubPart
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, withUnwrappedComposition
Methods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrame
Methods inherited from interface io.jmix.ui.component.Component.Focusable
focus, getTabIndex, isFocusable, setFocusable, setTabIndex
Methods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaption
Methods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescription
Methods inherited from interface io.jmix.ui.component.Component.HasIcon
getIcon, setIcon, setIconFromSet
Methods inherited from interface io.jmix.ui.component.HasHtmlCaption
isCaptionAsHtml, setCaptionAsHtml
Methods inherited from interface io.jmix.ui.component.HasHtmlDescription
isDescriptionAsHtml, setDescriptionAsHtml
Methods inherited from interface io.jmix.ui.component.HasHtmlSanitizer
isHtmlSanitizerEnabled, setHtmlSanitizerEnabled
-
Field Details
-
actions
-
messages
-
messageTools
-
accessManager
-
metadataTools
-
screensHelper
-
listComponent
-
openMode
-
propertyOptions
-
excludeRegex
-
-
Constructor Details
-
RelatedEntitiesImpl
public RelatedEntitiesImpl()
-
-
Method Details
-
setActions
-
setMessages
-
setAccessManager
-
setMessageTools
-
setMetadataTools
-
setScreensHelper
-
getOpenMode
- Specified by:
getOpenMode
in interfaceRelatedEntities<E>
-
setOpenMode
- Specified by:
setOpenMode
in interfaceRelatedEntities<E>
-
getExcludePropertiesRegex
- Specified by:
getExcludePropertiesRegex
in interfaceRelatedEntities<E>
-
setExcludePropertiesRegex
- Specified by:
setExcludePropertiesRegex
in interfaceRelatedEntities<E>
-
addPropertyOption
- Specified by:
addPropertyOption
in interfaceRelatedEntities<E>
-
removePropertyOption
- Specified by:
removePropertyOption
in interfaceRelatedEntities<E>
-
getListComponent
- Specified by:
getListComponent
in interfaceRelatedEntities<E>
-
setListComponent
- Specified by:
setListComponent
in interfaceRelatedEntities<E>
-
isSuitableProperty
protected boolean isSuitableProperty(MetaClass metaClass, MetaProperty metaProperty, @Nullable Pattern excludePattern) -
getMetaClass
-
createRelatedAction
protected Action createRelatedAction(MetaProperty metaProperty, @Nullable WindowInfo defaultScreen, @Nullable PropertyOption propertyOption)
-