Package io.jmix.ui.facet
Class NotificationFacetProvider
java.lang.Object
io.jmix.ui.facet.NotificationFacetProvider
- All Implemented Interfaces:
FacetProvider<NotificationFacet>
@Component("ui_NotificationFacetProvider")
public class NotificationFacetProvider
extends Object
implements FacetProvider<NotificationFacet>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
protected void
loadCaption
(NotificationFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected void
loadContentMode
(NotificationFacet facet, org.dom4j.Element element) protected void
loadDelay
(NotificationFacet facet, org.dom4j.Element element) protected void
loadDescription
(NotificationFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) void
loadFromXml
(NotificationFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads properties of the facet from XML.protected void
loadHtmlSanitizerEnabled
(NotificationFacet facet, org.dom4j.Element element) protected void
loadId
(NotificationFacet facet, org.dom4j.Element element) protected void
loadPosition
(NotificationFacet facet, org.dom4j.Element element) protected String
loadResourceString
(ComponentLoader.ComponentContext context, String caption) protected void
loadStyleName
(NotificationFacet facet, org.dom4j.Element element) protected void
loadTarget
(NotificationFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected void
loadType
(NotificationFacet facet, org.dom4j.Element element)
-
Field Details
-
messageTools
-
componentProperties
-
-
Constructor Details
-
NotificationFacetProvider
public NotificationFacetProvider()
-
-
Method Details
-
getFacetClass
- Specified by:
getFacetClass
in interfaceFacetProvider<NotificationFacet>
- Returns:
- facet interface
-
create
- Specified by:
create
in interfaceFacetProvider<NotificationFacet>
- Returns:
- new instance of the facet class
-
getFacetTag
- Specified by:
getFacetTag
in interfaceFacetProvider<NotificationFacet>
- Returns:
- facet XML tag
-
loadFromXml
public void loadFromXml(NotificationFacet 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<NotificationFacet>
- Parameters:
facet
- facetelement
- XML elementcontext
- loading context
-
loadId
-
loadCaption
protected void loadCaption(NotificationFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadDescription
protected void loadDescription(NotificationFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadType
-
loadDelay
-
loadContentMode
-
loadStyleName
-
loadPosition
-
loadTarget
protected void loadTarget(NotificationFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadHtmlSanitizerEnabled
-
loadResourceString
-