Package io.jmix.flowui.view.impl
Class ViewFacetsImpl
java.lang.Object
io.jmix.flowui.view.impl.ViewFacetsImpl
- All Implemented Interfaces:
ViewFacets
@Component("flowui_ViewFacets")
@Scope("prototype")
public class ViewFacetsImpl
extends Object
implements ViewFacets
Implementation of the
ViewFacets interface. This class manages a collection of facets
associated with a specific View.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
view
-
facets
-
-
Constructor Details
-
ViewFacetsImpl
-
-
Method Details
-
addFacet
Description copied from interface:ViewFacetsAdds a facet to a view.- Specified by:
addFacetin interfaceViewFacets- Parameters:
facet- the facet to be added
-
getFacet
Description copied from interface:ViewFacetsReturns a facet by its ID.- Specified by:
getFacetin interfaceViewFacets- Parameters:
id- the identifier of the facet to retrieve- Returns:
- the facet corresponding to the given identifier,
or
nullif no facet is associated with the identifier
-
removeFacet
Description copied from interface:ViewFacetsRemoves the specified facet from the view.- Specified by:
removeFacetin interfaceViewFacets- Parameters:
facet- the facet to be removed
-
getFacets
Description copied from interface:ViewFacetsReturns a stream of all facets associated with the view.- Specified by:
getFacetsin interfaceViewFacets- Returns:
- a stream of
Facetinstances associated with the view
-