Package io.jmix.ui.facet
Class MessageDialogFacetProvider
java.lang.Object
io.jmix.ui.facet.MessageDialogFacetProvider
- All Implemented Interfaces:
FacetProvider<MessageDialogFacet>
@Component("ui_MessageDialogFacetProvider")
public class MessageDialogFacetProvider
extends Object
implements FacetProvider<MessageDialogFacet>
-
Field Summary
Modifier and TypeFieldDescriptionprotected UiComponentProperties
protected LoaderSupport
protected MessageTools
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
protected void
loadCaption
(MessageDialogFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected void
loadCloseOnClickOutside
(MessageDialogFacet facet, org.dom4j.Element element) protected void
loadContentMode
(MessageDialogFacet facet, org.dom4j.Element element) void
loadFromXml
(MessageDialogFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads properties of the facet from XML.protected void
loadHeight
(MessageDialogFacet facet, org.dom4j.Element element) protected void
loadHtmlSanitizerEnabled
(MessageDialogFacet facet, org.dom4j.Element element) protected void
loadId
(MessageDialogFacet facet, org.dom4j.Element element) protected void
loadMessage
(MessageDialogFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected void
loadModal
(MessageDialogFacet facet, org.dom4j.Element element) protected String
loadResourceString
(ComponentLoader.ComponentContext context, String caption) protected void
loadStyleName
(MessageDialogFacet facet, org.dom4j.Element element) protected void
loadTarget
(MessageDialogFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected void
loadWidth
(MessageDialogFacet facet, org.dom4j.Element element)
-
Field Details
-
messageTools
-
componentProperties
-
loaderSupport
-
-
Constructor Details
-
MessageDialogFacetProvider
public MessageDialogFacetProvider()
-
-
Method Details
-
getFacetClass
- Specified by:
getFacetClass
in interfaceFacetProvider<MessageDialogFacet>
- Returns:
- facet interface
-
create
- Specified by:
create
in interfaceFacetProvider<MessageDialogFacet>
- Returns:
- new instance of the facet class
-
getFacetTag
- Specified by:
getFacetTag
in interfaceFacetProvider<MessageDialogFacet>
- Returns:
- facet XML tag
-
loadFromXml
public void loadFromXml(MessageDialogFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Description copied from interface:FacetProvider
Loads properties of the facet from XML.- Specified by:
loadFromXml
in interfaceFacetProvider<MessageDialogFacet>
- Parameters:
facet
- facetelement
- XML elementcontext
- loading context
-
loadId
-
loadCaption
protected void loadCaption(MessageDialogFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadMessage
protected void loadMessage(MessageDialogFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadWidth
-
loadHeight
-
loadContentMode
-
loadModal
-
loadStyleName
-
loadTarget
protected void loadTarget(MessageDialogFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadCloseOnClickOutside
-
loadHtmlSanitizerEnabled
-
loadResourceString
-