| Modifier and Type | Method and Description |
|---|---|
| public default <T extends ComponentContainer | Returns: a reference to this component to support method chainingthe subcomponent to add component)Add a subcomponent to this component. |
| public default <T extends ComponentContainer | Returns: a reference to this component to support method chainingthe subcomponent to remove component)Remove a subcomponent from this component. |
| public default <T extends ComponentContainer | Returns: a reference to the component to support method chainingthe subcomponent to add component)Add a subcomponent to this component whilst removing all other subcomponents with the same component name. |
| public void | |
| public default <T extends ComponentContainer | with(BiFunction<T, C, T> f, C c)
A functional method used to apply a component to a container in an undefined way. |
| add | back to summary |
|---|---|
| public default <T extends ComponentContainer Add a subcomponent to this component.
| |
| remove | back to summary |
|---|---|
| public default <T extends ComponentContainer Remove a subcomponent from this component.
| |
| replace | back to summary |
|---|---|
| public default <T extends ComponentContainer Add a subcomponent to this component whilst removing all other subcomponents with the same component name.
| |
| setComponentList | back to summary |
|---|---|
| public void setComponentList(ComponentList<C> components) | |
| with | back to summary |
|---|---|
| public default <T extends ComponentContainer A functional method used to apply a component to a container in an undefined way. For example, a null check can be introduced as follows: container.with((container, component) -> if (component != null) container.add(component); return container;) | |