Package org.patternfly.component.menu
Class MenuList
java.lang.Object
org.patternfly.component.SubComponent<HTMLUListElement,MenuList>
org.patternfly.component.menu.MenuList
- All Implemented Interfaces:
Iterable<MenuItem>,Attachable,Container<HTMLUListElement,,MenuList> Finder<HTMLUListElement>,HasElement<HTMLUListElement,,MenuList> HasHTMLElement<HTMLUListElement,,MenuList> IsElement<HTMLUListElement>,TypedBuilder<HTMLUListElement,,MenuList> HasItems<HTMLUListElement,MenuList, MenuItem>
public class MenuList
extends SubComponent<HTMLUListElement,MenuList>
implements HasItems<HTMLUListElement,MenuList,MenuItem>, Attachable
-
Method Summary
Methods inherited from class org.patternfly.component.SubComponent
elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.Attachable
detachMethods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueIdMethods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, titleMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
attach
- Specified by:
attachin interfaceAttachable
-
addItem
-
addItem
-
addDivider
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLUListElement,MenuList>
-
iterator
-
size
public int size()- Specified by:
sizein interfaceHasItems<HTMLUListElement,MenuList, MenuItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<HTMLUListElement,MenuList, MenuItem>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLUListElement,MenuList, MenuItem>