Interface CompositeComponent

    • Method Detail

      • hasChildComponents

        boolean hasChildComponents()
        Returns:
        Whether this component has childh components.
      • getChildComponents

        java.lang.Iterable<Component> getChildComponents()
        Returns:
        An iterable to child components.
      • addCompositeComponentListener

        void addCompositeComponentListener​(CompositeComponentListener compositeComponentListener)
        Adds a composite component listener. An event will be fired for each descendant component added or removed, with the event target indicating the parent composite component of the change.
        Parameters:
        compositeComponentListener - The composite component listener to add.
      • removeCompositeComponentListener

        void removeCompositeComponentListener​(CompositeComponentListener compositeComponentListener)
        Removes a composite component listener. An event will be fired for each descendant component added or removed, with the event target indicating the parent composite component of the change.
        Parameters:
        compositeComponentListener - The composite component listener to remove.