Class MenuList
java.lang.Object
org.patternfly.component.SubComponent<HTMLUListElement, MenuList>
org.patternfly.component.menu.MenuList
- All Implemented Interfaces:
Iterable<MenuItem>,Attachable,ElementAttributeMethods<HTMLUListElement, MenuList>,ElementClassListMethods<HTMLUListElement, MenuList>,ElementConsumerMethods<HTMLUListElement, MenuList>,ElementContainerMethods<HTMLUListElement, MenuList>,ElementEventMethods<HTMLUListElement, MenuList>,ElementIdMethods<HTMLUListElement, MenuList>,ElementQueryMethods<HTMLUListElement>,HTMLElementAttributeMethods<HTMLUListElement, MenuList>,HTMLElementDataMethods<HTMLUListElement, MenuList>,HTMLElementStyleMethods<HTMLUListElement, MenuList>,HTMLElementVisibilityMethods<HTMLUListElement, MenuList>,IsElement<HTMLUListElement>,TypedBuilder<HTMLUListElement, MenuList>,HasItems<HTMLUListElement, MenuList, MenuItem>
public class MenuList
extends SubComponent<HTMLUListElement, MenuList>
implements HasItems<HTMLUListElement, MenuList, MenuItem>, Attachable
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionadd(AsyncItems<MenuList, MenuItem> items) addItems(AsyncItems<MenuList, MenuItem> items) voidattach(MutationRecord mutationRecord) voidclear()booleanbooleanisEmpty()iterator()load()static MenuListmenuList()Creates a new menu list component.onAdd(BiConsumer<MenuList, MenuItem> onAdd) onRemove(BiConsumer<MenuList, MenuItem> onRemove) reload()voidremoveItem(String identifier) voidreset()intsize()status()that()Methods inherited from class org.patternfly.component.SubComponent
element, registerSubComponentMethods 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.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hiddenMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
SUB_COMPONENT_NAME
- See Also:
-
-
Method Details
-
attach
- Specified by:
attachin interfaceAttachable
-
addItems
-
add
-
addDivider
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLUListElement, MenuList>
-
onAdd
- Specified by:
onAddin interfaceHasItems<HTMLUListElement, MenuList, MenuItem>
-
onRemove
- Specified by:
onRemovein interfaceHasItems<HTMLUListElement, MenuList, MenuItem>
-
load
-
reset
public void reset() -
reload
-
status
-
iterator
-
size
public int size()- Specified by:
sizein interfaceHasItems<HTMLUListElement, MenuList, MenuItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<HTMLUListElement, MenuList, MenuItem>
-
contains
-
item
-
removeItem
- Specified by:
removeItemin interfaceHasItems<HTMLUListElement, MenuList, MenuItem>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLUListElement, MenuList, MenuItem>