Class NotificationDrawerItem
java.lang.Object
org.patternfly.component.SubComponent<HTMLElement, NotificationDrawerItem>
org.patternfly.component.notification.NotificationDrawerItem
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement, NotificationDrawerItem>,ElementClassListMethods<HTMLElement, NotificationDrawerItem>,ElementConsumerMethods<HTMLElement, NotificationDrawerItem>,ElementContainerMethods<HTMLElement, NotificationDrawerItem>,ElementEventMethods<HTMLElement, NotificationDrawerItem>,ElementIdMethods<HTMLElement, NotificationDrawerItem>,ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement, NotificationDrawerItem>,HTMLElementDataMethods<HTMLElement, NotificationDrawerItem>,HTMLElementStyleMethods<HTMLElement, NotificationDrawerItem>,HTMLElementVisibilityMethods<HTMLElement, NotificationDrawerItem>,IsElement<HTMLElement>,TypedBuilder<HTMLElement, NotificationDrawerItem>,HasIdentifier<HTMLElement, NotificationDrawerItem>,ComponentContext<HTMLElement, NotificationDrawerItem>
public class NotificationDrawerItem
extends SubComponent<HTMLElement, NotificationDrawerItem>
implements ComponentContext<HTMLElement, NotificationDrawerItem>, HasIdentifier<HTMLElement, NotificationDrawerItem>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionaddAction(HTMLElement element) <T> TbooleanSame as hoverable(true)hoverable(boolean hoverable) Adds/removes modifier(hoverable)static NotificationDrawerItemnotificationDrawerItem(Severity type, String title) static NotificationDrawerItemnotificationDrawerItem(Severity type, String identifier, String title) onClick(ComponentHandler<NotificationDrawerItem> handler) read()Same as read(true)read(boolean read) Adds/removes modifier(read)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.patternfly.core.ComponentContext
get, getMethods 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
-
Field Details
-
SUB_COMPONENT_NAME
- See Also:
-
-
Method Details
-
notificationDrawerItem
-
notificationDrawerItem
public static NotificationDrawerItem notificationDrawerItem(Severity type, String identifier, String title) -
addAction
-
addBody
-
hoverable
Same as hoverable(true) -
hoverable
Adds/removes modifier(hoverable) -
read
Same as read(true) -
read
Adds/removes modifier(read) -
store
- Specified by:
storein interfaceComponentContext<HTMLElement, NotificationDrawerItem>
-
timestamp
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement, NotificationDrawerItem>
-
onClick
-
get
- Specified by:
getin interfaceComponentContext<HTMLElement, NotificationDrawerItem>
-
has
- Specified by:
hasin interfaceComponentContext<HTMLElement, NotificationDrawerItem>
-
identifier
- Specified by:
identifierin interfaceHasIdentifier<HTMLElement, NotificationDrawerItem>
-