Class NotificationDrawerList
java.lang.Object
org.patternfly.component.SubComponent<HTMLElement, NotificationDrawerList>
org.patternfly.component.notification.NotificationDrawerList
- All Implemented Interfaces:
Iterable<NotificationDrawerItem>,ElementAttributeMethods<HTMLElement, NotificationDrawerList>,ElementClassListMethods<HTMLElement, NotificationDrawerList>,ElementConsumerMethods<HTMLElement, NotificationDrawerList>,ElementContainerMethods<HTMLElement, NotificationDrawerList>,ElementEventMethods<HTMLElement, NotificationDrawerList>,ElementIdMethods<HTMLElement, NotificationDrawerList>,ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement, NotificationDrawerList>,HTMLElementDataMethods<HTMLElement, NotificationDrawerList>,HTMLElementStyleMethods<HTMLElement, NotificationDrawerList>,HTMLElementVisibilityMethods<HTMLElement, NotificationDrawerList>,IsElement<HTMLElement>,TypedBuilder<HTMLElement, NotificationDrawerList>,HasItems<HTMLElement, NotificationDrawerList, NotificationDrawerItem>
public class NotificationDrawerList
extends SubComponent<HTMLElement, NotificationDrawerList>
implements HasItems<HTMLElement, NotificationDrawerList, NotificationDrawerItem>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionadd(NotificationDrawerItem item) Unlike other add methods, this method doesn't append the item to the list but inserts it as the first child.voidclear()booleaninsertAfter(NotificationDrawerItem newItem, NotificationDrawerItem afterItem) booleanisEmpty()iterator()static NotificationDrawerListvoidremoveItem(String identifier) intsize()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.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
-
notificationDrawerList
-
add
Unlike other add methods, this method doesn't append the item to the list but inserts it as the first child.- Specified by:
addin interfaceHasItems<HTMLElement, NotificationDrawerList, NotificationDrawerItem>
-
insertAfter
public NotificationDrawerList insertAfter(NotificationDrawerItem newItem, NotificationDrawerItem afterItem) -
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement, NotificationDrawerList>
-
onAdd
public NotificationDrawerList onAdd(BiConsumer<NotificationDrawerList, NotificationDrawerItem> onAdd) - Specified by:
onAddin interfaceHasItems<HTMLElement, NotificationDrawerList, NotificationDrawerItem>
-
onRemove
public NotificationDrawerList onRemove(BiConsumer<NotificationDrawerList, NotificationDrawerItem> onRemove) - Specified by:
onRemovein interfaceHasItems<HTMLElement, NotificationDrawerList, NotificationDrawerItem>
-
iterator
- Specified by:
iteratorin interfaceIterable<NotificationDrawerItem>
-
size
public int size()- Specified by:
sizein interfaceHasItems<HTMLElement, NotificationDrawerList, NotificationDrawerItem>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<HTMLElement, NotificationDrawerList, NotificationDrawerItem>
-
contains
- Specified by:
containsin interfaceHasItems<HTMLElement, NotificationDrawerList, NotificationDrawerItem>
-
item
- Specified by:
itemin interfaceHasItems<HTMLElement, NotificationDrawerList, NotificationDrawerItem>
-
removeItem
- Specified by:
removeItemin interfaceHasItems<HTMLElement, NotificationDrawerList, NotificationDrawerItem>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLElement, NotificationDrawerList, NotificationDrawerItem>
-