public class ContactInfoMenuItem extends AbstractPluginComponent implements java.awt.event.ActionListener
Constructor and Description |
---|
ContactInfoMenuItem(Container container,
PluginComponentFactory parentFactory)
Creates a ContactInfoMenuItem.
|
ContactInfoMenuItem(PluginComponentFactory parentFactory)
Creates a ContactInfoMenuItem.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Initializes and shows the contact details dialog.
|
java.lang.Object |
getComponent()
Returns the component that should be added.
|
java.lang.String |
getName()
Returns the name of this plugin component.
|
void |
setCurrentContact(Contact contact)
Sets the current contact.
|
void |
setCurrentContact(MetaContact metaContact)
Sets the currently selected MetaContact.
|
getConstraints, getContainer, getParentFactory, getPositionIndex, isNativeComponent, setCurrentAccountID, setCurrentContact, setCurrentContactGroup
public ContactInfoMenuItem(PluginComponentFactory parentFactory)
public ContactInfoMenuItem(Container container, PluginComponentFactory parentFactory)
public void setCurrentContact(MetaContact metaContact)
setCurrentContact
in interface PluginComponent
setCurrentContact
in class AbstractPluginComponent
metaContact
- the currently selected meta contactpublic void setCurrentContact(Contact contact)
PluginComponent
setCurrentContact
in interface PluginComponent
setCurrentContact
in class AbstractPluginComponent
contact
- the current contactpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public java.lang.Object getComponent()
PluginComponent
getComponent
in interface PluginComponent
public java.lang.String getName()
PluginComponent
getName
in interface PluginComponent
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.