Interface Container

    • Method Detail

      • getChildCount

        int getChildCount()
        Returns:
        the number of child components currently contained within this component.
      • getChildAt

        WComponent getChildAt​(int index)
        Retrieves a child component by its index.
        Parameters:
        index - the index of the child component to be retrieved.
        Returns:
        the child component at the given index.
      • getIndexOfChild

        int getIndexOfChild​(WComponent childComponent)
        Retrieves the index of the given child.
        Parameters:
        childComponent - the child component to retrieve the index for.
        Returns:
        the index of the given child component, or -1 if the component is not a child of this component.
      • getChildren

        List<WComponent> getChildren()
        Retrieves a list of this Container's.
        Returns:
        an immutable list of this Container.