SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.main.chat.conference
Class AdHocConferenceChatContact

java.lang.Object
  extended by net.java.sip.communicator.impl.gui.main.chat.ChatContact<Contact>
      extended by net.java.sip.communicator.impl.gui.main.chat.conference.AdHocConferenceChatContact

public class AdHocConferenceChatContact
extends ChatContact<Contact>

The AdHocConferenceChatContact represents a ChatContact in an ad-hoc conference chat.

Author:
Valentin Martinet, Lubomir Marinov

Field Summary
 
Fields inherited from class net.java.sip.communicator.impl.gui.main.chat.ChatContact
AVATAR_ICON_HEIGHT, AVATAR_ICON_WIDTH, descriptor
 
Constructor Summary
AdHocConferenceChatContact(Contact participant)
          Creates an instance of AdHocConferenceChatContact by passing to it the Contact for which it is created.
 
Method Summary
protected  byte[] getAvatarBytes()
          Gets the avatar image corresponding to the source contact in the form of an array of bytes.
 String getName()
          Returns the contact name.
 String getUID()
          Gets the implementation-specific identifier which uniquely specifies this contact.
 
Methods inherited from class net.java.sip.communicator.impl.gui.main.chat.ChatContact
equals, getAvatar, getDescriptor, hashCode, isSelected, setSelected
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdHocConferenceChatContact

public AdHocConferenceChatContact(Contact participant)
Creates an instance of AdHocConferenceChatContact by passing to it the Contact for which it is created.

Parameters:
participant - the Contact for which this AdHocConferenceChatContact is created.
Method Detail

getAvatarBytes

protected byte[] getAvatarBytes()
Description copied from class: ChatContact
Gets the avatar image corresponding to the source contact in the form of an array of bytes.

Specified by:
getAvatarBytes in class ChatContact<Contact>
Returns:
an array of bytes which represents the avatar image corresponding to the source contact

getName

public String getName()
Returns the contact name.

Specified by:
getName in class ChatContact<Contact>
Returns:
the contact name

getUID

public String getUID()
Description copied from class: ChatContact
Gets the implementation-specific identifier which uniquely specifies this contact.

Specified by:
getUID in class ChatContact<Contact>
Returns:
an identifier which uniquely specifies this contact

SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.