class ChatUI: (source)
Method | __init__ |
Undocumented |
Method | contactChangedNick |
For the given person, change the person's name to newnick and tell the contact list and any conversation windows with that person to change as well. |
Method | getContactsList |
Get the contacts list associated with this chat window. |
Method | getConversation |
For the given person object, return the conversation window or create and return a new conversation window if one does not exist. |
Method | getGroup |
For the given name and account client, return an instance of a IGroup provider or create and return a new instance of a IGroup provider. |
Method | getGroupConversation |
For the given group object, return the group conversation window or create and return a new group conversation window if it doesn't exist. |
Method | getPerson |
For the given name and account client, return an instance of a IGroup provider or create and return a new instance of a IGroup provider. |
Method | registerAccountClient |
Notify the user that an account has been signed on to. |
Method | unregisterAccountClient |
Notify the user that an account has been signed off or disconnected. |
Instance Variable | contactsList |
A contacts list. |
Instance Variable | conversations |
A cache of all the direct windows. |
Instance Variable | groupConversations |
A cache of all the group windows. |
Instance Variable | groups |
A cache of all the groups associated with this client. |
Instance Variable | onlineClients |
A list of message sources currently online. |
Instance Variable | persons |
A cache of all the users associated with this client. |
Parameters | |
person:IPerson provider | The person whose nickname will get changed. |
newnick:str | The new name person will take. |
Returns | |
ContactsList | The contacts list associated with this chat window. |
Parameters | |
person:IPerson provider | The person whose conversation window we want to get. |
Class:IConversation implementor | The kind of conversation window we want. If the conversation window for this person didn't already exist, create one of this type. |
stayHidden:bool | Whether or not the conversation window should stay hidden. |
Returns | |
IConversation provider | The conversation window. |
Parameters | |
group:IGroup provider | The group whose conversation window we want to get. |
Class:IConversation implementor | The kind of conversation window we want. If the conversation window for this person didn't already exist, create one of this type. |
stayHidden:bool | Whether or not the conversation window should stay hidden. |
Returns | |
IGroupConversation provider | The group conversation window. |
Parameters | |
client:IClient provider | The client account for the person who has just signed off. |