Interface CompositeComponent

All Superinterfaces:
Cloneable, Component
All Known Subinterfaces:
Action, ActionBar, ActionGroup, BaseAction, Column, ComponentContainer, FieldSet, Form, Layout, Report, Table
All Known Implementing Classes:
AbstractAction, AbstractComponentContainer, AbstractCompositeComponent, ActionBarImpl, ActionGroupImpl, ActionImpl, ColumnImpl, FieldSetImpl, FormImpl, LayoutImpl, ReportImpl, TableImpl

public interface CompositeComponent extends Component
A Component that contains child components.
  • Method Details

    • getScopes

      Set<FormScope> getScopes()
      Returns the defined the scopes. If the set is empty, the component is meant for all scopes.
    • hasChildren

      boolean hasChildren()
      Returns `true` if the list of children is not empty.
    • getChildren

      List<Component> getChildren()
      Returns all child components.
    • findById

      Optional<Component> findById(String id)
      Returns:
      the component with the passed `id` if it exists in the component tree. Otherwise Optional.empty() will be returned.