Package io.jmix.flowui.impl
Class FacetsImpl
java.lang.Object
io.jmix.flowui.impl.FacetsImpl
- All Implemented Interfaces:
Facets,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@Component("flowui_Facets")
public class FacetsImpl
extends Object
implements Facets, org.springframework.context.ApplicationContextAware
Implementation of the
Facets interface responsible for creating and managing UI facets.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classPOJO class to store information about replaced facets. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected Set<FacetsImpl.FacetInfo> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Facet>
TCreate a facet instance by its class.protected Optional<FacetsImpl.FacetInfo> getFacetInfo(Class<? extends Facet> facetClass) getFacetToCreate(FacetsImpl.FacetInfo facetInfo) voidvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
facets
-
-
Constructor Details
-
FacetsImpl
public FacetsImpl()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
create
Description copied from interface:FacetsCreate a facet instance by its class. -
register
-
getFacetInfo
-
getFacetToCreate
-