Uses of Class
com.yetnt.utils.builders.InlineHTML
Packages that use InlineHTML
-
Uses of InlineHTML in com.yetnt.utils.builders
Methods in com.yetnt.utils.builders that return InlineHTMLModifier and TypeMethodDescriptionInlineHTML.add(InlineHTML jLabelRichText) Appends additional content to the current rich text.InlineHTML.addAttributes(LinkedHashMap<String, String> attributes) Adds attributes to the most recently opened HTML tag.Appends additional content to the current rich text, preceded by an HTML line break.InlineHTML.addStyle(LinkedHashMap<String, String> style) Adds inline CSS styles to the most recently opened HTML tag.InlineHTML.bold()Applies bold formatting to the content.Applies a specific colour to the font of the content.Applies a specific colour and size to the font of the content.Applies a specific colour, size, and background colour to the font of the content.Applies a specific font size to the content.static InlineHTMLInlineHTML.from(String string, InlineHTML style) Creates a new InlineHTML instance from a given string and copies the opening and closing tags from an existing InlineHTML style object.InlineHTML.heading(InlineHTML.Heading heading) Applies a heading tag (H1-H6) to the content.InlineHTML.italic()Applies italic formatting to the content.InlineHTML.paragraph()Wraps the content in a paragraph tag.static InlineHTMLInlineHTML.paragraphWrap(InlineHTML... richTexts) StaticRefs factory method to combine multiple InlineHTML instances and wrap them within a single paragraph<p>tag.Sets the list of closing HTML tags.Sets the list of opening HTML tags.InlineHTML.subscript()Applies subscript formatting to the content.InlineHTML.superscript()Applies superscript formatting to the content.InlineHTML.underline()Applies underline formatting to the content.InlineHTML.wrapDiv(int width) Wraps the content in a div tag with a specified width.InlineHTML.wrapTag(String tag, LinkedHashMap<String, String> attributes) Wraps the content with a generic HTML tag, applying specified attributes.InlineHTML.wrapTag(String tag, LinkedHashMap<String, String> attributes, LinkedHashMap<String, String> style) Wraps the content with a generic HTML tag, applying specified attributes and inline styles.InlineHTML.wrapUsing(InlineHTML other) Applies the opening and closing tags from anotherInlineHTMLinstance to the current instance.Methods in com.yetnt.utils.builders with parameters of type InlineHTMLModifier and TypeMethodDescriptionInlineHTML.add(InlineHTML jLabelRichText) static InlineHTMLInlineHTML.from(String string, InlineHTML style) Creates a new InlineHTML instance from a given string and copies the opening and closing tags from an existing InlineHTML style object.static StringInlineHTML.htmlOf(InlineHTML... richTexts) StaticRefs factory method to combine multiple InlineHTML instances into a single HTML string, wrapped in an<html>tag.static InlineHTMLInlineHTML.paragraphWrap(InlineHTML... richTexts) StaticRefs factory method to combine multiple InlineHTML instances and wrap them within a single paragraph<p>tag.InlineHTML.wrapUsing(InlineHTML other) Applies the opening and closing tags from anotherInlineHTMLinstance to the current instance.