public class PluginComponentEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
PLUGIN_COMPONENT_ADDED
Indicates that the PluginComponentEvent instance was triggered by
adding a plugin component.
|
static int |
PLUGIN_COMPONENT_REMOVED
Indicates that the MetaContactEvent instance was triggered by the
removal of an existing MetaContact.
|
Constructor and Description |
---|
PluginComponentEvent(PluginComponentFactory pluginComponentProvider,
int eventID)
Initializes a new PluginComponentEvent instance which is to
notify about a specific PluginComponent and which is to be of a
nature indicated by a specific ID.
|
Modifier and Type | Method and Description |
---|---|
int |
getEventID()
Returns the ID of this event which is one of
PLUGIN_COMPONENT_ADDED and PLUGIN_COMPONENT_REMOVED . |
PluginComponentFactory |
getPluginComponentFactory()
Returns the PluginComponentFactory associated with this event.
|
public static final int PLUGIN_COMPONENT_ADDED
public static final int PLUGIN_COMPONENT_REMOVED
public PluginComponentEvent(PluginComponentFactory pluginComponentProvider, int eventID)
pluginComponentProvider
- the PluginComponentFactory about
which the new instance is to notifyeventID
- one of the PLUGIN_COMPONENT_XXX constants defined
by the PluginComponentEvent class which indicates the very
nature of the event that the new instance is to representpublic int getEventID()
PLUGIN_COMPONENT_ADDED
and PLUGIN_COMPONENT_REMOVED
.public PluginComponentFactory getPluginComponentFactory()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.