Package ch.swingfx.twinkle.event
Class NotificationEvent
java.lang.Object
java.util.EventObject
ch.swingfx.twinkle.event.NotificationEvent
- All Implemented Interfaces:
Serializable
Event Object used by the notification to send events
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
fId
-
-
Constructor Details
-
NotificationEvent
Create a new NotificationEvent- Parameters:
source
- source of the event. Usual theNotificationBuilder
id
- the id of the notification. This id is returned fromNotificationBuilder
.showNotification()
-
-
Method Details
-
getId
Get the id of the notification- Returns:
- the id of the notification
-