P - Property typeC - Group element typepublic interface BoundComponentGroup<P,C extends HasComponent> extends ComponentGroup<C>, HasPropertySet<P>
ComponentGroup for which each component is bound to a property, which identifies the component
itself within the group.| Modifier and Type | Interface and Description |
|---|---|
static interface |
BoundComponentGroup.Binding<P,C extends HasComponent>
A binding between a property and a group element.
|
| Modifier and Type | Method and Description |
|---|---|
Stream<BoundComponentGroup.Binding<P,C>> |
getBindings()
Get the available group element bindings.
|
Optional<C> |
getElement(P property)
Get the group element bound to given
property, if available. |
default C |
requireElement(P property)
Get the group element bound to given
property, throwing a IllegalArgumentException if not
available. |
getComponents, getElementsgetProperties, hasPropertyStream<BoundComponentGroup.Binding<P,C>> getBindings()
BoundComponentGroup.Binding represents the group element and the property to
which is bound.Optional<C> getElement(P property)
property, if available.property - The property which identifies the element within the group (not null)propertydefault C requireElement(P property)
property, throwing a IllegalArgumentException if not
available.property - The property which identifies the element within the group (not null)propertyIllegalArgumentException - If no element of the group is bound to given propertyCopyright © 2020 The Holon Platform. All rights reserved.