Package io.jmix.flowui.impl
Class UiComponentsImpl
java.lang.Object
io.jmix.flowui.impl.UiComponentsImpl
- All Implemented Interfaces:
- UiComponents
@Component("flowui_UiComponents")
public class UiComponentsImpl
extends Object
implements UiComponents
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final org.springframework.context.ApplicationContextprotected Set<UiComponentsImpl.ComponentInfo>protected final DatatypeRegistry
- 
Constructor SummaryConstructorsConstructorDescriptionUiComponentsImpl(org.springframework.context.ApplicationContext applicationContext, DatatypeRegistry datatypeRegistry) 
- 
Method SummaryModifier and TypeMethodDescription<T extends com.vaadin.flow.component.Component>
 TCreates a component instance.<T extends com.vaadin.flow.component.Component>
 Tcreate(org.springframework.core.ParameterizedTypeReference<T> typeReference) protected Optional<UiComponentsImpl.ComponentInfo>getComponentInfo(Class<? extends com.vaadin.flow.component.Component> component) protected Class<? extends com.vaadin.flow.component.Component>getComponentToCreate(UiComponentsImpl.ComponentInfo componentInfo) voidregister(Class<? extends com.vaadin.flow.component.Component> component, Class<? extends com.vaadin.flow.component.Component> replacedComponent) 
- 
Field Details- 
applicationContextprotected final org.springframework.context.ApplicationContext applicationContext
- 
datatypeRegistry
- 
components
 
- 
- 
Constructor Details- 
UiComponentsImplpublic UiComponentsImpl(org.springframework.context.ApplicationContext applicationContext, DatatypeRegistry datatypeRegistry) 
 
- 
- 
Method Details- 
createDescription copied from interface:UiComponentsCreates a component instance.For example: Label label = uiComponents.create(Label.class); label.setText("Hello"); getContent().add(label);- Specified by:
- createin interface- UiComponents
- Parameters:
- type- component class
 
- 
createpublic <T extends com.vaadin.flow.component.Component> T create(org.springframework.core.ParameterizedTypeReference<T> typeReference) 
- 
register
- 
getComponentInfoprotected Optional<UiComponentsImpl.ComponentInfo> getComponentInfo(Class<? extends com.vaadin.flow.component.Component> component) 
- 
getComponentToCreateprotected Class<? extends com.vaadin.flow.component.Component> getComponentToCreate(UiComponentsImpl.ComponentInfo componentInfo) 
 
-