Module de.codecamp.vaadin.flowdui
Class DatePickerFactory
java.lang.Object
de.codecamp.vaadin.flowdui.factories.forminputs.DatePickerFactory
- All Implemented Interfaces:
ComponentFactory
@DuiComponent(tagName="vaadin-date-picker",componentType=com.vaadin.flow.component.datepicker.DatePicker.class,docUrl="https://vaadin.com/docs/latest/ds/components/date-picker",category="Form Inputs",attributes={,,,,,})
public class DatePickerFactory
extends Object
implements ComponentFactory
-
Field Summary
Fields inherited from interface de.codecamp.vaadin.flowdui.ComponentFactory
SLOT_DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.Component
createComponent
(String tagName, ElementParserContext context) Creates a component based on the givenElementParserContext
, if the element is supported by this factory.
-
Constructor Details
-
DatePickerFactory
public DatePickerFactory()
-
-
Method Details
-
createComponent
public com.vaadin.flow.component.Component createComponent(String tagName, ElementParserContext context) Description copied from interface:ComponentFactory
Creates a component based on the givenElementParserContext
, if the element is supported by this factory.- Specified by:
createComponent
in interfaceComponentFactory
- Parameters:
tagName
- the tag namecontext
- the parse context of the element- Returns:
- the created component or null if the given element is not recognized
-