Interface Container

    • Method Detail

      • getChild

        Component getChild​(String id)
        Get child component with specific ID.
        Parameters:
        id -
        Returns:
        Component, or null if no component with that ID exists.
      • children

        Stream<String> children()
        Get a Stream of the child IDs that this container makes publicly visible. Containers may have hidden children that can be returned from getChild(java.lang.String) but are not listed here. All IDs returned should correspond to valid components, and (if provided) match the implementation of ContainerProtocol.

        A Stream is returned allowing flexibility in implementation.

        Returns:
        stream of public child IDs
      • getAddress

        ComponentAddress getAddress​(Component child)
        Get the address for the provided child component, or null if the component is not a child of this container.
        Parameters:
        child - component
        Returns:
        address, or null of component is not a child of this container.