/** * 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); }
/** * Sets this headers type * * @param headerType * The type of header this is * * @return */ public J setHeaderType(HeaderTypes headerType) { this.headerType = headerType; super.setTag(headerType.name()); super.setComponentType(headerType.getLinkedComponent()); return (J) this; } }
/** * Sets this headers type * * @param headerType * The type of header this is * * @return */ public J setHeaderType(HeaderTypes headerType) { this.headerType = headerType; super.setTag(headerType.name()); super.setComponentType(headerType.getLinkedComponent()); return (J) this; } }
/** * Sets this headers type * * @param headerType * The type of header this is * * @return */ public J setHeaderType(HeaderTypes headerType) { this.headerType = headerType; super.setTag(headerType.name()); super.setComponentType(headerType.getLinkedComponent()); return (J) this; } }