Class NotificationBadge
java.lang.Object
org.patternfly.component.BaseComponent<HTMLElement,NotificationBadge>
org.patternfly.component.notification.badge.NotificationBadge
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement,,NotificationBadge> ElementClassListMethods<HTMLElement,,NotificationBadge> ElementConsumerMethods<HTMLElement,,NotificationBadge> ElementContainerMethods<HTMLElement,,NotificationBadge> ElementEventMethods<HTMLElement,,NotificationBadge> ElementIdMethods<HTMLElement,,NotificationBadge> ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement,,NotificationBadge> HTMLElementDataMethods<HTMLElement,,NotificationBadge> HTMLElementStyleMethods<HTMLElement,,NotificationBadge> HTMLElementVisibilityMethods<HTMLElement,,NotificationBadge> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,NotificationBadge> Component,ComponentIcon<HTMLElement,NotificationBadge>
public class NotificationBadge
extends BaseComponent<HTMLElement,NotificationBadge>
implements ComponentIcon<HTMLElement,NotificationBadge>
A notification badge is a visual indicator that alerts users about incoming notifications.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionattentionIcon(Element icon) attentionIcon(org.patternfly.icon.PredefinedIcon icon) count(int count) expand()expand(boolean expand) booleanexpanded()static NotificationBadgeonClick(org.patternfly.handler.ComponentHandler<NotificationBadge> actionHandler) read()status(org.patternfly.style.NotificationStatus status) that()unread()Methods inherited from class org.patternfly.component.BaseComponent
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.patternfly.component.ComponentIcon
iconMethods 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
hidden
-
Method Details
-
notificationBadge
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,NotificationBadge>
-
expanded
public boolean expanded() -
ariaLabel
-
read
-
unread
-
attention
-
status
-
icon
- Specified by:
iconin interfaceComponentIcon<HTMLElement,NotificationBadge>
-
attentionIcon
-
attentionIcon
-
removeIcon
- Specified by:
removeIconin interfaceComponentIcon<HTMLElement,NotificationBadge>
-
removeAttentionIcon
-
expand
-
expand
-
onClick
public NotificationBadge onClick(org.patternfly.handler.ComponentHandler<NotificationBadge> actionHandler) -
count
-