public class WhiteboardMenuItem extends AbstractPluginComponent implements java.awt.event.ActionListener
Constructor and Description |
---|
WhiteboardMenuItem(WhiteboardSessionManager session,
PluginComponentFactory parentFactory)
WhiteboardMenuItem constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs: user start a whiteboard session.
|
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 current meta contact.
|
void |
setCurrentContactGroup(MetaContactGroup metaGroup)
Sets the current meta group.
|
getConstraints, getContainer, getParentFactory, getPositionIndex, isNativeComponent, setCurrentAccountID, setCurrentContact
public WhiteboardMenuItem(WhiteboardSessionManager session, PluginComponentFactory parentFactory)
session
- the whiteboard session managerpublic void setCurrentContact(Contact contact)
PluginComponent
setCurrentContact
in interface PluginComponent
setCurrentContact
in class AbstractPluginComponent
contact
- the current contactpublic void setCurrentContact(MetaContact metaContact)
setCurrentContact
in interface PluginComponent
setCurrentContact
in class AbstractPluginComponent
metaContact
- the current meta contactpublic void setCurrentContactGroup(MetaContactGroup metaGroup)
setCurrentContactGroup
in interface PluginComponent
setCurrentContactGroup
in class AbstractPluginComponent
metaGroup
- the current meta contact grouppublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- eventpublic 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.