Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 add, Candy.Core.ChatRoster
 addHandler, Candy.Core
 addIgnoreIcon, Candy.View.Pane.Room
 addObserver, Candy.Util.Observable
 addTab, Candy.View.Pane.Chat
 addToOrRemoveFromPrivacyList, Candy.Core.ChatUser
 adminMessage, Candy.View.Pane.Chat
 afterContextMenu, Candy.View.Event.Roster
 all, Candy.Util.Parser
 allTabsClosed, Candy.View.Pane.Chat
 appendToMessagePane, Candy.View.Pane.Room
 attach, Candy.Core
 Autojoin, Candy.Core.Action.Jabber
B
 beforeSend, Candy.View.Event.Message
 beforeShow, Candy.View.Event.Message
 Bookmarks, Candy.Core.Event.Jabber
C
 clearObservers, Candy.Util.Observable
 clearUnreadMessages
Candy.View.Pane.ChatCandy.View.Pane.Window
 close, Candy.View.Pane.Room
 connect, Candy.Core
 Connect, Candy.Core.Event.Strophe
 cookieExists, Candy.Util
 crop, Candy.Util
D
 deleteCookie, Candy.Util
 deleteObserver, Candy.Util.Observable
 Disco
Candy.Core.Action.Jabber.RoomCandy.Core.Event.Jabber.Room
 disconnect, Candy.Core
E
 emotify, Candy.Util.Parser
 escape, Candy.Util.Parser
 escapeJid, Candy.Util
F
 fitTabs, Candy.View.Pane.Chat
 forceRedraw, Candy.Util
this.add = function(user)
Add user to roster
self.addHandler = function(handler,
ns,
name,
type,
id,
from,
options)
Wrapper for Strophe.Connection.addHandler() to add a stanza handler for the connection.
addIgnoreIcon: function(roomJid,
userJid)
Add the ignore icon to the roster item of the specified user
self.addObserver = function(key,
obj)
Add an observer to the observer list
addTab: function(roomJid,
roomName,
roomType)
Add a tab to the chat pane.
this.addToOrRemoveFromPrivacyList = function(list,
jid)
Convenience function for adding/removing users from ignore list.
adminMessage: function(subject,
message)
Display admin message
afterContextMenu: function(args)
Called when after a the context menu is rendered
all: function(text)
Does everything of the parser: escaping, linkifying and emotifying.
allTabsClosed: function()
All tabs closed event: Disconnect from service.
appendToMessagePane: function(roomJid,
html)
Append a new message to the message pane.
self.attach = function(jid,
sid,
rid)
Attach an already binded & connected session to the server
Autojoin: function()
When Candy.Core.getOptions().autojoin is true, request autojoin bookmarks (OpenFire)
beforeSend: function(message)
Called before a message get sent
beforeShow: function(args)
Called before a new message will be shown.
Bookmarks: function(msg)
Acts on a bookmarks event.
self.clearObservers = function(key)
Deletes all observers in list
clearUnreadMessages: function(roomJid)
Clear unread message count in a tab.
clearUnreadMessages: function()
Clear unread message count in window title.
close: function(roomJid)
Close a room and remove everything in the DOM belonging to this room.
self.connect = function(jidOrHost,
password,
nick)
Connect to the jabber host.
Connect: function(status)
Acts on strophe status events and notifies view.
self.cookieExists = function(name)
Tests if a cookie with the given name exists
self.crop = function(str,
len)
Crop a string with the specified length
self.deleteCookie = function(name)
Deletes a cookie with the given name
self.deleteObserver = function(key,
obj)
Delete observer from list
Disco: function(roomJid)
Requests disco info of a room.
Disco: function(msg)
Sets informations to rooms according to the disco info received.
self.disconnect = function()
Leave all rooms and disconnect
emotify: function(text)
Replaces text-emoticons with their image equivalent.
escape: function(text)
Escapes a text using a jQuery function (like htmlspecialchars in PHP)
self.escapeJid = function(jid)
Escapes a jid (node & resource get escaped)
fitTabs: function()
Fit tab size according to window size
self.forceRedraw = function(elem)
Fix IE7 not redrawing under some circumstances.
Close