Package | Description |
---|---|
net.java.sip.communicator.impl.gui.main.chat | |
net.java.sip.communicator.impl.gui.main.chat.conference | |
net.java.sip.communicator.impl.msghistory | |
net.java.sip.communicator.impl.protocol.irc |
This package contains an IRC protocol implementation for Jitsi.
|
net.java.sip.communicator.impl.protocol.jabber | |
net.java.sip.communicator.impl.protocol.mock | |
net.java.sip.communicator.service.protocol | |
net.java.sip.communicator.service.protocol.event |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ChatPanel.getRoleDescription(ChatRoomMemberRole role)
Returns the corresponding role description to the given role index.
|
Modifier and Type | Method and Description |
---|---|
ChatRoomMemberRole |
ConferenceChatContact.getRole() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.Icon |
ChatContactRoleIcon.getRoleIcon(ChatRoomMemberRole role)
Returns the role icon which corresponds to the given role.
|
Modifier and Type | Method and Description |
---|---|
ChatRoomMemberRole |
MessageHistoryServiceImpl.ChatRoomMemberImpl.getRole() |
Modifier and Type | Method and Description |
---|---|
void |
MessageHistoryServiceImpl.ChatRoomMemberImpl.setRole(ChatRoomMemberRole newRole) |
Constructor and Description |
---|
ChatRoomMemberImpl(java.lang.String name,
ChatRoom chatRoom,
ChatRoomMemberRole role) |
Modifier and Type | Method and Description |
---|---|
ChatRoomMemberRole |
ChatRoomMemberIrcImpl.getRole()
Returns the role of this chat room member in its containing room.
|
ChatRoomMemberRole |
Mode.getRole()
Get corresponding ChatRoomMemberRole instance if available or null
otherwise.
|
ChatRoomMemberRole |
ChatRoomIrcImpl.getUserRole()
Returns the local user role.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
ChatRoomMemberIrcImpl.addRole(ChatRoomMemberRole role)
Add a role.
|
void |
ChatRoomIrcImpl.fireMemberRoleEvent(ChatRoomMember member,
ChatRoomMemberRole newRole)
Creates the corresponding ChatRoomMemberRoleChangeEvent and notifies
all ChatRoomMemberRoleListeners that a ChatRoomMember has
changed his role in this ChatRoom.
|
(package private) void |
ChatRoomMemberIrcImpl.removeRole(ChatRoomMemberRole role)
Remove a role.
|
void |
ChatRoomIrcImpl.setLocalUserRole(ChatRoomMemberRole role)
Sets the local user role.
|
void |
ChatRoomMemberIrcImpl.setRole(ChatRoomMemberRole chatRoomMemberRole)
Sets a new member role to this ChatRoomMember.
|
Constructor and Description |
---|
ChatRoomMemberIrcImpl(ProtocolProviderServiceIrcImpl parentProvider,
ChatRoom chatRoom,
java.lang.String contactID,
java.lang.String ident,
java.lang.String hostname,
ChatRoomMemberRole chatRoomMemberRole,
IrcStatusEnum status)
Creates an instance of ChatRoomMemberIrcImpl, by specifying the
protocol provider, the corresponding chat room, where this member is
joined, the identifier of the contact (the nickname), the login, the
host name and finally the role that this contact has in the chat room.
|
Modifier and Type | Method and Description |
---|---|
(package private) ChatRoomMemberRole |
ChatRoomMemberJabberImpl.getCurrentRole()
Returns the current role without trying to query it in the stack.
|
ChatRoomMemberRole |
ChatRoomMemberJabberImpl.getRole()
Returns the role of this chat room member in its containing room.
|
ChatRoomMemberRole |
ChatRoomJabberImpl.getUserRole()
Returns local user role in the context of this chatroom.
|
static ChatRoomMemberRole |
ChatRoomJabberImpl.smackRoleToScRole(java.lang.String smackRole,
java.lang.String affiliation)
Returns that ChatRoomJabberRole instance corresponding to the
smackRole string.
|
Modifier and Type | Method and Description |
---|---|
void |
ChatRoomJabberImpl.setLocalUserRole(ChatRoomMemberRole role)
Sets the new rolefor the local user in the context of this chatroom.
|
void |
ChatRoomJabberImpl.setLocalUserRole(ChatRoomMemberRole role,
boolean isInitial)
Sets the new rolefor the local user in the context of this chatroom.
|
void |
ChatRoomMemberJabberImpl.setRole(ChatRoomMemberRole role)
Sets the role of this member.
|
Modifier and Type | Method and Description |
---|---|
ChatRoomMemberRole |
MockChatRoomMember.getRole()
Returns the role of this chat room member in its containing room.
|
ChatRoomMemberRole |
MockChatRoom.getUserRole()
Returns the local user role.
|
Modifier and Type | Method and Description |
---|---|
void |
MockChatRoom.setLocalUserRole(ChatRoomMemberRole role)
Sets the local user role.
|
void |
MockChatRoomMember.setRole(ChatRoomMemberRole role)
Sets the role of this member.
|
Constructor and Description |
---|
MockChatRoomMember(java.lang.String name,
ChatRoom chatRoom,
ChatRoomMemberRole role,
Contact contact,
byte[] avatar)
Creates an instance of MockChatRoomMember by specifying the
name of the member, the chatRoom, to which it belongs,
its role in the room, the contact corresponding to it
and its avatar.
|
Modifier and Type | Method and Description |
---|---|
ChatRoomMemberRole |
ChatRoomMember.getRole()
Returns the role of this chat room member in its containing room.
|
ChatRoomMemberRole |
ChatRoom.getUserRole()
Returns the local user's role in the context of this chat room or
null if not currently joined.
|
static ChatRoomMemberRole |
ChatRoomMemberRole.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChatRoomMemberRole[] |
ChatRoomMemberRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ChatRoom.setLocalUserRole(ChatRoomMemberRole role)
Changes the the local user's nickname in the context of this chatroom.
|
void |
ChatRoomMember.setRole(ChatRoomMemberRole role)
Sets the role of this chat room member in its containing room.
|
Modifier and Type | Method and Description |
---|---|
ChatRoomMemberRole |
ChatRoomLocalUserRoleChangeEvent.getNewRole()
Returns the new role the local participant get.
|
ChatRoomMemberRole |
ChatRoomMemberRoleChangeEvent.getNewRole()
Returns the new role given to the member that this event is about.
|
ChatRoomMemberRole |
ChatRoomLocalUserRoleChangeEvent.getPreviousRole()
Returns the previous role that local participant had.
|
ChatRoomMemberRole |
ChatRoomMemberRoleChangeEvent.getPreviousRole()
Returns the previous role the member that this event is about had.
|
Constructor and Description |
---|
ChatRoomLocalUserRoleChangeEvent(ChatRoom sourceRoom,
ChatRoomMemberRole previousRole,
ChatRoomMemberRole newRole,
boolean isInitial)
Creates a ChatRoomLocalUserRoleChangeEvent representing that
a change in local participant role in the source chat room has
occured.
|
ChatRoomMemberRoleChangeEvent(ChatRoom sourceRoom,
ChatRoomMember sourceMember,
ChatRoomMemberRole previousRole,
ChatRoomMemberRole newRole)
Creates a ChatRoomMemberRoleChangeEvent representing that
a change in member role in the source chat room has occured.
|
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.