Package org.patternfly.component.help
Class HelperTextItem
- java.lang.Object
-
- org.patternfly.component.SubComponent<E,B>
-
- org.patternfly.component.help.HelperTextItem
-
- All Implemented Interfaces:
Container<HTMLElement,HelperTextItem>,Finder<HTMLElement>,HasElement<HTMLElement,HelperTextItem>,HasHTMLElement<HTMLElement,HelperTextItem>,IsElement<HTMLElement>,TypedBuilder<HTMLElement,HelperTextItem>,HasValue<String>,WithIcon<HTMLElement,HelperTextItem>,WithIconAndText<HTMLElement,HelperTextItem>,WithText<HTMLElement,HelperTextItem>
public class HelperTextItem extends SubComponent<E,B> implements WithIcon<HTMLElement,HelperTextItem>, WithText<HTMLElement,HelperTextItem>, WithIconAndText<HTMLElement,HelperTextItem>, HasValue<String>
-
-
Method Summary
-
Methods inherited from class org.patternfly.component.SubComponent
element
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, id, innerHtml, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, title
-
Methods inherited from interface org.patternfly.component.WithIconAndText
iconAndText, iconAndText
-
-
-
-
Method Detail
-
helperTextItem
public static HelperTextItem helperTextItem()
-
helperTextItem
public static HelperTextItem helperTextItem(String text)
-
helperTextItem
public static HelperTextItem helperTextItem(String text, ValidationStatus status)
-
helperTextItem
public static <E extends HTMLElement> HelperTextItem helperTextItem(HTMLContainerBuilder<E> builder)
-
helperTextItem
public static <E extends HTMLElement> HelperTextItem helperTextItem(HTMLContainerBuilder<E> builder, String text)
-
helperTextItem
public static <E extends HTMLElement> HelperTextItem helperTextItem(HTMLContainerBuilder<E> builder, String text, ValidationStatus status)
-
dynamic
public HelperTextItem dynamic()
-
defaultIcon
public HelperTextItem defaultIcon()
-
icon
public HelperTextItem icon(Element icon)
- Specified by:
iconin interfaceWithIcon<HTMLElement,HelperTextItem>
-
removeIcon
public HelperTextItem removeIcon()
- Specified by:
removeIconin interfaceWithIcon<HTMLElement,HelperTextItem>
-
iconAndText
public HelperTextItem iconAndText(Element icon, String text, IconPosition iconPosition)
- Specified by:
iconAndTextin interfaceWithIconAndText<HTMLElement,HelperTextItem>
-
status
public HelperTextItem status(ValidationStatus status)
-
status
public HelperTextItem status(ValidationStatus status, PredefinedIcon icon)
-
status
public HelperTextItem status(ValidationStatus status, Element icon)
-
text
public HelperTextItem text(String text)
- Specified by:
textin interfaceWithText<HTMLElement,HelperTextItem>
-
screenReader
public HelperTextItem screenReader(String text)
-
that
public HelperTextItem that()
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,HelperTextItem>
-
text
public String text()
- Specified by:
textin interfaceWithText<HTMLElement,HelperTextItem>
-
-