com.holonplatform.vaadin.flow.components

## Interface ComponentGroup<C extends HasComponent>

- Type Parameters:
    `C` - Group element type
  All Superinterfaces:
    Serializable
  All Known Subinterfaces:
    BoundComponentGroup<P,C>, ItemListing.EditorComponentGroup<P,T>, PropertyInputForm, PropertyInputGroup, PropertyViewForm, PropertyViewGroup

      public interface ComponentGroup<C extends HasComponent>
      extends Serializable

  A group of `HasComponent` type elements, which provides the actual `Component` through the `HasComponent.getComponent()` method.

  The elements of the group can be obtained using `getElements()`.

  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default Stream<com.vaadin.flow.component.Component>` | `getComponents()` Get the stream of the available group components.
    `Stream<C>` | `getElements()` Get the stream of the available group elements.

- - ### Method Detail

    - #### getElements

          Stream<C> getElements()

      Get the stream of the available group elements.
      Returns:
        the group elements stream

    - #### getComponents

          default Stream<com.vaadin.flow.component.Component> getComponents()

      Get the stream of the available group components.
      Returns:
        the group components stream

Copyright © 2020 The Holon Platform. All rights reserved.