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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()protected voidloadCaption(NotificationFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected voidloadContentMode(NotificationFacet facet, org.dom4j.Element element) protected voidloadDelay(NotificationFacet facet, org.dom4j.Element element) protected voidloadDescription(NotificationFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) voidloadFromXml(NotificationFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads properties of the facet from XML.protected voidloadHtmlSanitizerEnabled(NotificationFacet facet, org.dom4j.Element element) protected voidloadId(NotificationFacet facet, org.dom4j.Element element) protected voidloadPosition(NotificationFacet facet, org.dom4j.Element element) protected StringloadResourceString(ComponentLoader.ComponentContext context, String caption) protected voidloadStyleName(NotificationFacet facet, org.dom4j.Element element) protected voidloadTarget(NotificationFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected voidloadType(NotificationFacet facet, org.dom4j.Element element)
-
Field Details
-
messageTools
-
componentProperties
-
-
Constructor Details
-
NotificationFacetProvider
public NotificationFacetProvider()
-
-
Method Details
-
getFacetClass
- Specified by:
getFacetClassin interfaceFacetProvider<NotificationFacet>- Returns:
- facet interface
-
create
- Specified by:
createin interfaceFacetProvider<NotificationFacet>- Returns:
- new instance of the facet class
-
getFacetTag
- Specified by:
getFacetTagin interfaceFacetProvider<NotificationFacet>- Returns:
- facet XML tag
-
loadFromXml
public void loadFromXml(NotificationFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Description copied from interface:FacetProviderLoads properties of the facet from XML.- Specified by:
loadFromXmlin 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
-