Package io.jmix.ui.facet
Class TimerFacetProvider
java.lang.Object
io.jmix.ui.facet.TimerFacetProvider
- All Implemented Interfaces:
FacetProvider<Timer>
@Component("ui_TimerFacetProvider")
public class TimerFacetProvider
extends Object
implements FacetProvider<Timer>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
void
loadFromXml
(Timer facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads properties of the facet from XML.protected void
loadTimer
(Timer timer, org.dom4j.Element element, ComponentLoader.ComponentContext context)
-
Constructor Details
-
TimerFacetProvider
public TimerFacetProvider()
-
-
Method Details
-
getFacetClass
- Specified by:
getFacetClass
in interfaceFacetProvider<Timer>
- Returns:
- facet interface
-
create
- Specified by:
create
in interfaceFacetProvider<Timer>
- Returns:
- new instance of the facet class
-
getFacetTag
- Specified by:
getFacetTag
in interfaceFacetProvider<Timer>
- Returns:
- facet XML tag
-
loadFromXml
public void loadFromXml(Timer 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<Timer>
- Parameters:
facet
- facetelement
- XML elementcontext
- loading context
-
loadTimer
protected void loadTimer(Timer timer, org.dom4j.Element element, ComponentLoader.ComponentContext context)
-