Class HtmlTemplate

java.lang.Object
com.vaadin.flow.component.Component
com.storedobject.ui.util.HtmlTemplate
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, Serializable
Direct Known Subclasses:
TemplateLayout

@Tag("div") public abstract class HtmlTemplate extends com.vaadin.flow.component.Component
Abstract base class for a component that is initialized based on the contents of an HTML template. The HTML content is read to create a server-side Element tree. For instance fields marked with @Id, an element with the corresponding id attribute value is identified, upgraded to a component of the type defined by the field and the component instance is set as the field value. However, it is possible to custom-create the component instance by overriding the createComponentForId(String) or createComponentForId(String, String) method.
Author:
Leif Åstrand (Vaadin Ltd.). Enhanced by Syam.
See Also: