Module de.codecamp.vaadin.flowdui
Package de.codecamp.vaadin.flowdui
package de.codecamp.vaadin.flowdui
-
ClassDescriptionA classpath-based
TemplateResolver
.Component factories are responsible for creatingcomponents
based onHTML elements
parsed from a template.Post-processors can make additional modifications to components created by a factory; this is useful e.g.Abstract base class for composites whose content is created from a template fragment.Abstract base class for fields whose content is created from a template fragment.Used to annotate fragment hosts in order to override the default fragment ID.Used to mark fields to which components from the template should be mapped.Contains the end result of parsing a template, including the root component and information about the encountered component IDs, slots and fragments.Used to mark fields that should be inserted into a<slot>
in the template.Abstract base class for composites whose content is created from a template.Abstract base class for fields whose content is created from a template.Used to annotate template hosts in order to override the default template ID.Gathers the state while parsing a template and provides methods to parse attributes and child components.Called byTemplateParserContext.readChildren(com.vaadin.flow.component.Component, Element, ChildElementHandler, TextNodeHandler)
to handle a childelement
of a component element in a template.Called byTemplateParserContext.readComponent(Element, ComponentProcessor)
andTemplateParserContext.readComponentForSlot(Element, ComponentProcessor)
after creating the component, but before anypost-processors
are called.Template resolvers are responsible for loading templates based on a provided template ID and return them asDocument
.Used as dummy component when a template slot is otherwise empty.