Package ch.swingfx.twinkle.event
Class NotificationEvent
- java.lang.Object
-
- java.util.EventObject
-
- ch.swingfx.twinkle.event.NotificationEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class NotificationEvent extends java.util.EventObjectEvent Object used by the notification to send events- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.UUIDfIdprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description NotificationEvent(java.lang.Object source, java.util.UUID id)Create a new NotificationEvent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.UUIDgetId()Get the id of the notification
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
fId
private final java.util.UUID fId
-
-
Constructor Detail
-
NotificationEvent
public NotificationEvent(java.lang.Object source, java.util.UUID id)Create a new NotificationEvent- Parameters:
source- source of the event. Usual theNotificationBuilderid- the id of the notification. This id is returned fromNotificationBuilder.showNotification()
-
-