Package org.patternfly.component.menu
Class MenuList
- java.lang.Object
-
- org.patternfly.component.SubComponent<E,B>
-
- org.patternfly.component.menu.MenuList
-
- All Implemented Interfaces:
Attachable,Container<HTMLUListElement,MenuList>,Finder<HTMLUListElement>,HasElement<HTMLUListElement,MenuList>,HasHTMLElement<HTMLUListElement,MenuList>,IsElement<HTMLUListElement>,TypedBuilder<HTMLUListElement,MenuList>
public class MenuList extends SubComponent<E,B> implements Attachable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MenuListadd(MenuItem item)MenuListaddDivider()MenuListaddItem(String id, String text)MenuListaddItem(String id, String text, String href)MenuListaddItem(MenuItem item)<T> MenuListaddItems(Iterable<T> items, Function<T,MenuItem> display)voidattach(MutationRecord mutationRecord)voidclear()static MenuListmenuList()Creates a new menu list component .MenuListthat()-
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.Attachable
detach
-
Methods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAll
-
-
-
-
Method Detail
-
menuList
public static MenuList menuList()
Creates a new menu list component .
-
attach
public void attach(MutationRecord mutationRecord)
- Specified by:
attachin interfaceAttachable
-
addDivider
public MenuList addDivider()
-
that
public MenuList that()
- Specified by:
thatin interfaceTypedBuilder<HTMLUListElement,MenuList>
-
clear
public void clear()
-
-