Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

java.lang.Object
  extended by net.java.sip.communicator.impl.gui.main.chat.conference.ChatContactRoleIcon

public class ChatContactRoleIcon
extends Object

Allows to determine which icon should be chosen for the chat contact currently participating in a chatroom, regarding to his associated role.

Author:
Valentin Martinet

Constructor Summary
ChatContactRoleIcon()
           
 
Method Summary
static Icon getRoleIcon(ChatRoomMemberRole role)
          Returns the role icon which corresponds to the given role.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatContactRoleIcon

public ChatContactRoleIcon()
Method Detail

getRoleIcon

public static Icon getRoleIcon(ChatRoomMemberRole role)
Returns the role icon which corresponds to the given role.

Parameters:
role - the role to analyse
Returns:
Icon the associated Icon with this role

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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