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
M
 Message
Candy.Core.Action.Jabber.RoomCandy.Core.Event.JabberCandy.Core.Event.Jabber.Room
N
 notifyObservers, Candy.Util.Observable
 notifyPrivateChats, Candy.View.Observer.Presence
O
 onAdd, Candy.View.Event.Room
 onAdminMessage, Candy.View.Event.Chat
 onAuthfail, Candy.View.Event.Chat
 onAutoscrollControlClick, Candy.View.Pane.Toolbar
 onBlur, Candy.View.Pane.Window
 onClose, Candy.View.Event.Room
 onContextMenu, Candy.View.Event.Roster
 onDisconnect, Candy.View.Event.Chat
 onFocus, Candy.View.Pane.Window
 onHide, Candy.View.Event.Room
 onInfoMessage, Candy.View.Pane.Chat
 onPlaySound, Candy.View.Pane.Toolbar
 onPresenceChange, Candy.View.Event.Room
 onScrollToBottom, Candy.View.Pane.Room
 onScrollToStoredPosition, Candy.View.Pane.Room
 onShow
Candy.View.Event.MessageCandy.View.Event.Room
 onSoundControlClick, Candy.View.Pane.Toolbar
 onStatusMessageControlClick, Candy.View.Pane.Toolbar
 onSubjectChange, Candy.View.Event.Room
 onUpdate, Candy.View.Event.Roster
 onWindowUnload, Candy.Core
 open, Candy.View.Pane.PrivateRoom
P
 playSound, Candy.View.Pane.Toolbar
 Presence
Candy.Core.Action.JabberCandy.Core.Event.JabberCandy.Core.Event.Jabber.Room
 PresenceError, Candy.Core.Event.Jabber.Room
 PrivacyList, Candy.Core.Event.Jabber
 PrivacyListError, Candy.Core.Event.Jabber
R
 rawInput, Candy.Core
 reduceUnreadMessages, Candy.View.Pane.Window
 remove, Candy.Core.ChatRoster
 removeIgnoreIcon, Candy.View.Pane.Room
 RemoveIgnoreList, Candy.Core.Action.Jabber
 removeTab, Candy.View.Pane.Chat
 renderUnreadMessages, Candy.View.Pane.Window
 ResetIgnoreList, Candy.Core.Action.Jabber
 Roster, Candy.Core.Action.Jabber
Message: function(roomJid,
msg,
type)
Send message
Message: function(msg)
Acts on room, admin and server messages and notifies the view if required.
Message: function(msg)
Acts on various message events (subject changed, private chat message, multi-user chat message) and notifies view.
self.notifyObservers = function(key,
arg)
Notify all of its observers of a certain event.
notifyPrivateChats: function(user,
type)
Notify private user chats if existing
onAdd: function(args)
Called when a new room gets added
onAdminMessage: function(args)
Called when receiving admin messages
onAuthfail: function()
Called when authentication fails
onAutoscrollControlClick: function()
Autoscroll control event handler.
onBlur: function()
Window blur event handler.
onClose: function(args)
Called after a room has been left/closed
onContextMenu: function(args)
Called when a user clicks on the action menu arrow.
onDisconnect: function()
Called when client disconnects
onFocus: function()
Window focus event handler.
onHide: function(args)
Called when a room gets hidden
onInfoMessage: function(roomJid,
subject,
message)
Display info message.
onPlaySound: function()
Sound play event handler.
onPresenceChange: function(args)
Called when presence of user changes (kick, ban)
onScrollToBottom: function(roomJid)
Scrolls to the latest message received/sent.
onScrollToStoredPosition: function(roomJid)
When autoscroll is off, the position where the scrollbar is has to be stored for each room, because it otherwise goes to the top in the message window.
onShow: function(args)
Called after a new message has been shown
onShow: function(args)
Called when a room gets shown
onSoundControlClick: function()
Sound control click event handler.
onStatusMessageControlClick: function()
Status message control event handler.
onSubjectChange: function(args)
Called when a subject of a room gets changed
onUpdate: function(args)
Called after a user have been added to the roster
self.onWindowUnload = function()
window.onbeforeunload event which disconnects the client from the Jabber server.
open: function(roomJid,
roomName,
switchToRoom,
isNoConferenceRoomJid)
Opens a new private room
playSound: function()
Play sound (default method).
Presence: function(attr)
Sends a request for presence
Presence: function(msg)
Acts on a presence event
Presence: function(msg)
Acts on various presence messages (room leaving, room joining, error presence) and notifies view.
PresenceError: function(msg)
Acts when a presence of type error has been retrieved.
PrivacyList: function(msg)
Acts on a privacy list event and sets up the current privacy list of this user.
PrivacyListError: function(msg)
Acts when a privacy list error has been received.
self.rawInput = function(data)
(Overridden from Strophe.Connection.rawInput)
reduceUnreadMessages: function(num)
Reduce unread message count in window title by `num`.
this.remove = function(jid)
Remove user from roster
removeIgnoreIcon: function(roomJid,
userJid)
Remove the ignore icon to the roster item of the specified user
RemoveIgnoreList: function()
Remove an existing ignore list.
removeTab: function(roomJid)
Remove tab element.
renderUnreadMessages: function(count)
Update window title to show message count.
ResetIgnoreList: function()
Create new ignore privacy list (and reset the old one, if it exists).
Roster: function()
Sends a request for a roster
Close