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)Retrieves the identifier associated with this component.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 SubComponent
element, registerSubComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ComponentContext
get, getMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface 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
Description copied from interface:HasIdentifierRetrieves the identifier associated with this component.- Specified by:
identifierin interfaceHasIdentifier<HTMLElement, NotificationDrawerItem>- Returns:
- the identifier of the component
-