Package org.patternfly.component.list
Class SimpleListItem
- java.lang.Object
-
- org.patternfly.component.SubComponent<E,B>
-
- org.patternfly.component.list.SimpleListItem
-
- All Implemented Interfaces:
Container<HTMLLIElement,SimpleListItem>,Finder<HTMLLIElement>,HasElement<HTMLLIElement,SimpleListItem>,HasHTMLElement<HTMLLIElement,SimpleListItem>,IsElement<HTMLLIElement>,TypedBuilder<HTMLLIElement,SimpleListItem>,WithText<HTMLLIElement,SimpleListItem>,ElementDelegate<HTMLLIElement,SimpleListItem>
public class SimpleListItem extends SubComponent<E,B> implements WithText<HTMLLIElement,SimpleListItem>, ElementDelegate<HTMLLIElement,SimpleListItem>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HTMLElementdelegate()SimpleListItemhref(String href)SimpleListItemonClick(ComponentHandler<SimpleListItem> actionHandler)static SimpleListItemsimpleListItem(String id)static SimpleListItemsimpleListItem(String id, String text)static SimpleListItemsimpleListItem(String id, String text, String href)static SimpleListItemsimpleListItem(String id, String text, String href, String target)static <E extends HTMLElement>
SimpleListItemsimpleListItem(String id, HTMLContainerBuilder<E> builder)SimpleListItemtarget(String target)SimpleListItemtext(String text)SimpleListItemthat()-
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, addAll, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.patternfly.core.ElementDelegate
add, add, innerHtml, textContent, textNode
-
Methods inherited from interface org.jboss.elemento.HasElement
apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, id, on, run, toggle, toggle, toggle, uniqueId
-
-
-
-
Field Detail
-
id
public final String id
-
-
Method Detail
-
simpleListItem
public static SimpleListItem simpleListItem(String id)
-
simpleListItem
public static SimpleListItem simpleListItem(String id, String text)
-
simpleListItem
public static SimpleListItem simpleListItem(String id, String text, String href)
-
simpleListItem
public static SimpleListItem simpleListItem(String id, String text, String href, String target)
-
simpleListItem
public static <E extends HTMLElement> SimpleListItem simpleListItem(String id, HTMLContainerBuilder<E> builder)
-
delegate
public HTMLElement delegate()
- Specified by:
delegatein interfaceElementDelegate<HTMLLIElement,SimpleListItem>
-
text
public SimpleListItem text(String text)
- Specified by:
textin interfaceWithText<HTMLLIElement,SimpleListItem>
-
href
public SimpleListItem href(String href)
-
target
public SimpleListItem target(String target)
-
that
public SimpleListItem that()
- Specified by:
thatin interfaceTypedBuilder<HTMLLIElement,SimpleListItem>
-
onClick
public SimpleListItem onClick(ComponentHandler<SimpleListItem> actionHandler)
-
-