com.webforj.component.html.HtmlComponentContainer Maven / Gradle / Ivy
package com.webforj.component.html;
import com.webforj.component.Component;
import com.webforj.concern.HasComponents;
/**
* Base class for a {@link Component} that represents a single built-in HTML element that can
* contain child components or text.
*
* @author Hyyan Abo Fakher
* @since 23.06
*/
public abstract class HtmlComponentContainer>
extends HtmlComponent implements HasComponents {
/**
* Creates a new HtmlComponentContainer with given components.
*
* @param components the components to be added to the container
*/
protected HtmlComponentContainer(Component... components) {
add(components);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy