Package io.jmix.ui.facet
Class AbstractScreenFacetProvider<T extends ScreenFacet>
java.lang.Object
io.jmix.ui.facet.AbstractScreenFacetProvider<T>
- Type Parameters:
T
- screen facet type
- All Implemented Interfaces:
FacetProvider<T>
- Direct Known Subclasses:
AbstractEntityAwareScreenFacetProvider
,ScreenFacetProvider
public abstract class AbstractScreenFacetProvider<T extends ScreenFacet>
extends Object
implements FacetProvider<T>
Base class for screen facet providers.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
loadFromXml
(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads properties of the facet from XML.protected void
protected void
loadOpenMode
(T facet, org.dom4j.Element element) protected void
loadProperties
(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected UiControllerProperty
loadProperty
(org.dom4j.Element property, ComponentLoader.ComponentContext context) protected void
loadScreenClass
(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected void
loadScreenId
(T facet, org.dom4j.Element element) protected void
loadTarget
(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) 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.xml.FacetProvider
create, getFacetClass, getFacetTag
-
Constructor Details
-
AbstractScreenFacetProvider
public AbstractScreenFacetProvider()
-
-
Method Details
-
loadFromXml
public void loadFromXml(T 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<T extends ScreenFacet>
- Parameters:
facet
- facetelement
- XML elementcontext
- loading context
-
loadId
-
loadScreenId
-
loadScreenClass
protected void loadScreenClass(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadOpenMode
-
loadProperties
protected void loadProperties(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadProperty
protected UiControllerProperty loadProperty(org.dom4j.Element property, ComponentLoader.ComponentContext context) -
loadTarget
protected void loadTarget(T facet, org.dom4j.Element element, ComponentLoader.ComponentContext context)
-