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
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
Methods 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, uniqueId
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, title
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
attach
- Specified by:
attach
in interfaceAttachable
-
addItem
-
addItem
-
addDivider
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLUListElement,
MenuList>
-
iterator
-
size
public int size()- Specified by:
size
in interfaceHasItems<HTMLUListElement,
MenuList, MenuItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceHasItems<HTMLUListElement,
MenuList, MenuItem>
-
clear
public void clear()- Specified by:
clear
in interfaceHasItems<HTMLUListElement,
MenuList, MenuItem>