Package org.patternfly.component.menu
Class MenuList
- java.lang.Object
-
- org.patternfly.component.SubComponent<HTMLUListElement,MenuList>
-
- org.patternfly.component.menu.MenuList
-
- All Implemented Interfaces:
Container<HTMLUListElement,MenuList>,Finder<HTMLUListElement>,HasElement<HTMLUListElement,MenuList>,HasHTMLElement<HTMLUListElement,MenuList>,IsElement<HTMLUListElement>,TypedBuilder<HTMLUListElement,MenuList>,ComponentReference<Menu>
public class MenuList extends SubComponent<HTMLUListElement,MenuList> implements ComponentReference<Menu>
-
-
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)static MenuListmenuList()Creates a new menu list component .voidpassComponent(Menu menu)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.Container
add, add, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, css, id, id, innerHtml, on, textContent, toggle, toggle, toggle
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, title
-
-
-
-
Method Detail
-
menuList
public static MenuList menuList()
Creates a new menu list component .
-
passComponent
public void passComponent(Menu menu)
- Specified by:
passComponentin interfaceComponentReference<Menu>
-
that
public MenuList that()
- Specified by:
thatin interfaceTypedBuilder<HTMLUListElement,MenuList>
-
addDivider
public MenuList addDivider()
-
-