Package io.jmix.ui.xml.layout.loader
Class PopupButtonLoader
java.lang.Object
io.jmix.ui.xml.layout.loader.AbstractComponentLoader<PopupButton>
io.jmix.ui.xml.layout.loader.PopupButtonLoader
- All Implemented Interfaces:
ComponentLoader<PopupButton>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.xml.layout.ComponentLoader
ComponentLoader.ComponentContext, ComponentLoader.CompositeComponentContext, ComponentLoader.Context, ComponentLoader.InitTask, ComponentLoader.InjectTask
-
Field Summary
Fields inherited from class io.jmix.ui.xml.layout.loader.AbstractComponentLoader
applicationContext, context, element, environment, factory, layoutLoaderConfig, loaderResolver, loaderSupport, resultComponent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Creates result component by XML-element and loads its Id.protected void
protected void
loadActions
(ActionsHolder actionsHolder, org.dom4j.Element element) protected void
loadAutoClose
(PopupButton component, org.dom4j.Element element) protected void
loadClosePopupOnOutsideClick
(PopupButton component, org.dom4j.Element element) void
Loads component properties by XML definition.protected Action
loadDeclarativeAction
(ActionsHolder actionsHolder, org.dom4j.Element element) protected void
loadMenuWidth
(PopupButton component, org.dom4j.Element element) protected void
protected void
loadPopupOpenDirection
(PopupButton component, org.dom4j.Element element) protected void
loadShowActionIcons
(PopupButton component, org.dom4j.Element element) protected void
loadTogglePopupVisibilityOnClick
(PopupButton component, org.dom4j.Element element) Methods inherited from class io.jmix.ui.xml.layout.loader.AbstractComponentLoader
assignFrame, assignXmlDescriptor, findComponent, getActions, getClassManager, getComponentContext, getCompositeComponentContext, getContext, getElement, getFactory, getIconPath, getLayoutLoader, getLayoutLoader, getLayoutLoaderConfig, getLoaderResolver, getLoaderSupport, getMessages, getMessageTools, getMeterRegistry, getParentDataContainer, getProperties, getResultComponent, getTheme, initAction, loadAction, loadActionConstraint, loadActionId, loadAlign, loadBoolean, loadBoolean, loadBorder, loadCaption, loadCaptionAsHtml, loadCollapsible, loadContainer, loadContainer, loadContextHelp, loadCss, loadData, loadDeclarativeActionByType, loadDeclarativeActionDefault, loadDescription, loadDescriptionAsHtml, loadEditable, loadEnable, loadEnum, loadEnum, loadFocusable, loadFormatter, loadFormatter, loadHeight, loadHeight, loadHtmlSanitizerEnabled, loadIcon, loadId, loadInputPrompt, loadInteger, loadInteger, loadMargin, loadMetaClass, loadMetaClass, loadMinHeight, loadMinHeight, loadMinWidth, loadMinWidth, loadOptionsContainer, loadOrientation, loadRequired, loadRequiredIndicatorVisible, loadResourceString, loadResponsive, loadShortcut, loadShortcutFromAlias, loadShortcutFromConfig, loadShortcutFromFQNConfig, loadString, loadString, loadStyleName, loadTabIndex, loadThemeInt, loadThemeString, loadValidation, loadValuePickerDeclarativeAction, loadVisible, loadWidth, loadWidth, parseMarginInfo, setApplicationContext, setContext, setElement, setEnvironment, setFactory, setLayoutLoaderConfig, setLoaderResolver, setLoaderSupport
-
Field Details
-
popupComponentLoader
-
-
Constructor Details
-
PopupButtonLoader
public PopupButtonLoader()
-
-
Method Details
-
createComponent
public void createComponent()Description copied from interface:ComponentLoader
Creates result component by XML-element and loads its Id. Also creates all nested components.- See Also:
-
loadComponent
public void loadComponent()Description copied from interface:ComponentLoader
Loads component properties by XML definition.- See Also:
-
loadActions
- Overrides:
loadActions
in classAbstractComponentLoader<PopupButton>
-
loadDeclarativeAction
- Overrides:
loadDeclarativeAction
in classAbstractComponentLoader<PopupButton>
-
loadAutoClose
-
loadMenuWidth
-
loadTogglePopupVisibilityOnClick
-
loadClosePopupOnOutsideClick
-
loadPopupOpenDirection
-
loadShowActionIcons
-
createContent
protected void createContent() -
loadPopupComponent
protected void loadPopupComponent()
-