/** * Constructs a component with the tag name, it's associated base HTML component, and whether it closes in line or not * <p> * * @param tagName * The tag name to apply * @param myComponent * The component enumeration applied with this component * @param inlineTagClose * Whether or not to close the tag InLine or not */ public Component(String tagName, ComponentTypes myComponent, boolean inlineTagClose) { super(myComponent); setTag(tagName); setInlineClosingTag(inlineTagClose); }
/** * Constructs a component with the tag name, it's associated base HTML component, and whether it closes in line or not * <p> * * @param tagName * The tag name to apply * @param myComponent * The component enumeration applied with this component * @param inlineTagClose * Whether or not to close the tag InLine or not */ public Component(String tagName, ComponentTypes myComponent, boolean inlineTagClose) { super(myComponent); setTag(tagName); setInlineClosingTag(inlineTagClose); }
/** * Constructs a component with the tag name, it's associated base HTML component, and whether it closes in line or not * <p> * * @param tagName * The tag name to apply * @param myComponent * The component enumeration applied with this component * @param inlineTagClose * Whether or not to close the tag InLine or not */ public Component(String tagName, ComponentTypes myComponent, boolean inlineTagClose) { super(myComponent); setTag(tagName); setInlineClosingTag(inlineTagClose); }