public class NotificationEventTypeEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EVENT_TYPE_ADDED
Indicates that a new event type is added.
|
static java.lang.String |
EVENT_TYPE_REMOVED
Indicates that an event type was removed.
|
Constructor and Description |
---|
NotificationEventTypeEvent(NotificationService source,
java.lang.String eventType,
java.lang.String sourceEventType)
Creates an instance of this event according to the specified type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEventType()
The type of this event.
|
java.lang.String |
getSourceEventType()
Returns the eventType, for which this event is about.
|
public static final java.lang.String EVENT_TYPE_ADDED
public static final java.lang.String EVENT_TYPE_REMOVED
public NotificationEventTypeEvent(NotificationService source, java.lang.String eventType, java.lang.String sourceEventType)
source
- the NotificationService that dispatched this eventeventType
- the type of this event. One of the static fields
declared in this classsourceEventType
- the event type for which this event occuredpublic java.lang.String getSourceEventType()
public java.lang.String getEventType()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.