Package io.jmix.flowui.view
Interface ViewFacets
- All Known Implementing Classes:
ViewFacetsImpl
public interface ViewFacets
Interface for managing facets associated with a
View.-
Method Summary
-
Method Details
-
addFacet
Adds a facet to a view.- Parameters:
facet- the facet to be added
-
getFacet
Returns a facet by its ID.- 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
Removes the specified facet from the view.- Parameters:
facet- the facet to be removed
-
getFacets
Returns a stream of all facets associated with the view.- Returns:
- a stream of
Facetinstances associated with the view
-