Package io.jmix.flowui.facet.impl
Class AbstractFacetHolder
java.lang.Object
io.jmix.flowui.facet.impl.AbstractFacetHolder
- All Implemented Interfaces:
HasFacets
- Direct Known Subclasses:
FragmentFacetsImpl,ViewFacetsImpl
Abstract implementation of
HasFacets.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a facet to a view.Returns a facet by its ID.Returns a stream of all facets associated with the view.protected abstract <T extends com.vaadin.flow.component.Composite<?> & FacetOwner>
TgetOwner()voidremoveFacet(Facet facet) Removes the specified facet from the view.
-
Field Details
-
facets
-
-
Constructor Details
-
AbstractFacetHolder
public AbstractFacetHolder()
-
-
Method Details
-
addFacet
Description copied from interface:HasFacetsAdds a facet to a view. -
getFacet
Description copied from interface:HasFacetsReturns a facet by its ID. -
removeFacet
Description copied from interface:HasFacetsRemoves the specified facet from the view.- Specified by:
removeFacetin interfaceHasFacets- Parameters:
facet- the facet to be removed
-
getFacets
Description copied from interface:HasFacetsReturns a stream of all facets associated with the view. -
getOwner
-