Package org.patternfly.component.help
Class HelperText
- java.lang.Object
-
- org.patternfly.component.BaseComponentFlat<HTMLElement,HelperText>
-
- org.patternfly.component.help.HelperText
-
- All Implemented Interfaces:
Finder<HTMLElement>,HasElement<HTMLElement,HelperText>,HasHTMLElement<HTMLElement,HelperText>,IsElement<HTMLElement>,TypedBuilder<HTMLElement,HelperText>,Component
public class HelperText extends BaseComponentFlat<HTMLElement,HelperText>
Helper text is an on-screen field guideline that helps provide context regarding field inputs.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HelperTextadd(HelperTextItem item)HelperTextaddItem(HelperTextItem item)HelperTextItemfirstItem()static HelperTexthelperText()static HelperTexthelperText(String text)Shortcut for a helper text with one itemhelperText().addItem(helperTextItem(text))static HelperTexthelperText(String text, ValidationStatus status)Shortcut for a helper text with one itemhelperText().addItem(helperTextItem(text, status))static <E extends HTMLElement>
HelperTexthelperText(HTMLContainerBuilder<E> builder)HelperTextliveRegion()Flag for indicating whether the helper text container is a live region.HelperTextthat()-
Methods inherited from class org.patternfly.component.BaseComponentFlat
componentType, element
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
helperText
public static HelperText helperText()
-
helperText
public static <E extends HTMLElement> HelperText helperText(HTMLContainerBuilder<E> builder)
-
helperText
public static HelperText helperText(String text)
Shortcut for a helper text with one itemhelperText().addItem(helperTextItem(text))
-
helperText
public static HelperText helperText(String text, ValidationStatus status)
Shortcut for a helper text with one itemhelperText().addItem(helperTextItem(text, status))
-
addItem
public HelperText addItem(HelperTextItem item)
-
add
public HelperText add(HelperTextItem item)
-
liveRegion
public HelperText liveRegion()
Flag for indicating whether the helper text container is a live region. Use this prop when you expect or intend for any helper text items within the container to be dynamically updated.
-
that
public HelperText that()
-
firstItem
public HelperTextItem firstItem()
-
-