Package org.patternfly.component.list
Class ListItem
- java.lang.Object
-
- org.patternfly.component.SubComponent<E,B>
-
- org.patternfly.component.list.ListItem
-
- All Implemented Interfaces:
Container<HTMLLIElement,ListItem>,Finder<HTMLLIElement>,HasElement<HTMLLIElement,ListItem>,HasHTMLElement<HTMLLIElement,ListItem>,IsElement<HTMLLIElement>,TypedBuilder<HTMLLIElement,ListItem>,WithIcon<HTMLLIElement,ListItem>,WithText<HTMLLIElement,ListItem>
public class ListItem extends SubComponent<E,B> implements WithText<HTMLLIElement,ListItem>, WithIcon<HTMLLIElement,ListItem>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListItemicon(Element icon)static ListItemlistItem()ListItemremoveIcon()ListItemtext(String text)ListItemthat()-
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
-
-
-
-
Method Detail
-
listItem
public static ListItem listItem()
-
icon
public ListItem icon(Element icon)
- Specified by:
iconin interfaceWithIcon<HTMLLIElement,ListItem>
-
removeIcon
public ListItem removeIcon()
- Specified by:
removeIconin interfaceWithIcon<HTMLLIElement,ListItem>
-
text
public ListItem text(String text)
- Specified by:
textin interfaceWithText<HTMLLIElement,ListItem>
-
that
public ListItem that()
- Specified by:
thatin interfaceTypedBuilder<HTMLLIElement,ListItem>
-
-