Class NotificationsIndicator.CountChangeEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<NotificationsIndicator>
io.jmix.notificationsflowui.component.notificationsindicator.NotificationsIndicator.CountChangeEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- NotificationsIndicator
public static class NotificationsIndicator.CountChangeEvent
extends com.vaadin.flow.component.ComponentEvent<NotificationsIndicator>
An event that is fired when notifications count is changed.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionCountChangeEvent
(NotificationsIndicator source, boolean fromClient, Integer previousCount, Integer count) -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
previousCount
-
count
-
-
Constructor Details
-
CountChangeEvent
public CountChangeEvent(NotificationsIndicator source, boolean fromClient, Integer previousCount, Integer count)
-
-
Method Details
-
getPreviousCount
- Returns:
- previous notifications count
-
getCount
- Returns:
- notifications count
-