|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.service.gui.AbstractPluginComponent
public abstract class AbstractPluginComponent
Provides an abstract base implementation of PluginComponent in
order to take care of the implementation boilerplate and let implementers
focus on the specifics of their plug-in.
| Constructor Summary | |
|---|---|
protected |
AbstractPluginComponent(Container container)
Initializes a new AbstractPluginComponent which is to be
added to a specific Container. |
| Method Summary | |
|---|---|
String |
getConstraints()
Returns the constraints, which will indicate to the container, where this component should be added. |
Container |
getContainer()
Returns the identifier of the container, where we would like to add our control. |
int |
getPositionIndex()
Implements PluginComponent.getPositionIndex(). |
boolean |
isNativeComponent()
Returns true to indicate that this component is a native
component and false otherwise. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.java.sip.communicator.service.gui.PluginComponent |
|---|
getComponent, getName |
| Constructor Detail |
|---|
protected AbstractPluginComponent(Container container)
AbstractPluginComponent which is to be
added to a specific Container.
container - the container in which the component of the new plug-in
is to be added| Method Detail |
|---|
public String getConstraints()
PluginComponent
getConstraints in interface PluginComponentpublic Container getContainer()
PluginComponent
getContainer in interface PluginComponentpublic int getPositionIndex()
PluginComponent.getPositionIndex(). Returns
-1 which indicates that the position of this
AbstractPluginComponent within its Container is of no
importance.
getPositionIndex in interface PluginComponentPluginComponent.getPositionIndex()public boolean isNativeComponent()
PluginComponenttrue to indicate that this component is a native
component and false otherwise. This method is meant to be
used by containers if a special treatment is needed for native components.
isNativeComponent in interface PluginComponenttrue to indicate that this component is a native
component and false otherwise.public void setCurrentContact(Contact contact)
PluginComponent
setCurrentContact in interface PluginComponentcontact - the current contactpublic void setCurrentContact(MetaContact metaContact)
PluginComponent
setCurrentContact in interface PluginComponentmetaContact - the current meta contactpublic void setCurrentContactGroup(MetaContactGroup metaGroup)
PluginComponent
setCurrentContactGroup in interface PluginComponentmetaGroup - the current meta contact group
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||