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
S
 scrollToBottom, Candy.View.Pane.Room
 Services, Candy.Core.Action.Jabber
 setActiveTab, Candy.View.Pane.Chat
 setAffiliation, Candy.Core.ChatUser
 setCookie, Candy.Util
 setCustomData, Candy.Core.ChatUser
 setEmoticonPath, Candy.Util.Parser
 setFocusToForm, Candy.View.Pane.Room
 SetIgnoreListActive, Candy.Core.Action.Jabber
 setJid, Candy.Core.ChatUser
 setName, Candy.Core.ChatRoom
 setNick, Candy.Core.ChatUser
 SetNickname, Candy.Core.Action.Jabber
 setPreviousNick, Candy.Core.ChatUser
 setPrivacyLists, Candy.Core.ChatUser
 setRole, Candy.Core.ChatUser
 setRoster, Candy.Core.ChatRoom
 setStatus, Candy.View.Pane.PrivateRoom
 setStropheStatus, Candy.Core
 setSubject, Candy.View.Pane.Room
 SetSubject, Candy.Core.Action.Jabber.Room.Admin
 setUser
 show
 showCloseControl, Candy.View.Pane.Modal
 showEmoticonsMenu, Candy.View.Pane.Context
 showEnterPasswordForm, Candy.View.Pane.Modal
 showError, Candy.View.Pane.Modal
 showJoinAnimation, Candy.View.Pane.PrivateRoom
 showLoginForm, Candy.View.Pane.Modal
 showNicknameConflictForm, Candy.View.Pane.Modal
 showSpinner, Candy.View.Pane.Modal
 sliceMessagePane, Candy.View.Pane.Room
 submit, Candy.View.Pane.Message
T
 tabClick, Candy.View.Pane.Chat
 tabClose, Candy.View.Pane.Chat
U
 unescapeJid, Candy.Util
 unignoreUser, Candy.View.Pane.Room
 update
 UpdatePrivacyList, Candy.Core.Action.Jabber.Room
 updateUserCount, Candy.View.Pane.Toolbar
 UserAction, Candy.Core.Action.Jabber.Room.Admin
 userClick, Candy.View.Pane.PrivateRoom
V
 Version
scrollToBottom: function(roomJid)
Scroll to bottom wrapper for onScrollToBottom to be able to disable it by overwriting the function.
Services: function()
Sends a request for disco items
setActiveTab: function(roomJid)
Set the active tab.
this.setAffiliation = function(affiliation)
Sets user affiliation
self.setCookie = function(name,
value,
lifetime_days)
Sets a new cookie
this.setCustomData = function(data)
Stores custom data
setEmoticonPath: function(path)
Set emoticons location.
setFocusToForm: function(roomJid)
Set focus to the message input field within the message form.
SetIgnoreListActive: function()
Set ignore privacy list active
this.setJid = function(jid)
Sets a user’s jid
this.setName = function(name)
Set room name
this.setNick = function(nick)
Sets a user’s nick
SetNickname: function(nickname,
rooms)
Sets the supplied nickname for all rooms (if parameter “room” is not specified) or sets it only for the specified rooms
this.setPreviousNick = function(previousNick)
If user has nickname changed, set previous nickname.
this.setPrivacyLists = function(lists)
Sets privacy lists.
this.setRole = function(role)
Sets user role
this.setRoster = function(roster)
Set roster of room
setStatus: function(roomJid,
status)
Set offline or online status for private rooms (when one of the participants leaves the room)
self.setStropheStatus = function(status)
Set the strophe status
setSubject: function(roomJid,
subject)
Called when someone changes the subject in the channel
SetSubject: function(roomJid,
subject)
Sets subject (topic) of a room.
self.setUser = function(user)
Set current user.
this.setUser = function(user)
Set user of this room.
setUser: function(roomJid,
user)
Sets or updates the current user in the specified room (called by Candy.View.Pane.Roster.update) and set specific informations (roles and affiliations) on the room tab (chat-pane).
show: function(elem,
roomJid,
user)
Show context menu (positions it according to the window height/width)
show: function(roomJid,
name,
message,
xhtmlMessage,
timestamp)
Show a message in the message pane
show: function(html,
showCloseControl,
showSpinner)
Display modal window
show: function(roomJid)
Show a specific room and hides the other rooms (if there are any)
show: function()
Show toolbar.
show: function(event,
content)
Show a tooltip on event.currentTarget with content specified or content within the target’s attribute data-tooltip.
showCloseControl: function()
Show a close button
showEmoticonsMenu: function(elem)
Shows the special emoticons menu
showEnterPasswordForm: function(roomJid,
roomName,
message)
Shows a form for entering room password
showError: function(message,
replacements)
Show modal containing error message
showJoinAnimation: function(user,
userId,
roomId,
roomJid,
currentUser)
Shows join animation if needed
showLoginForm: function(message,
presetJid)
Show the login form modal
showNicknameConflictForm: function(roomJid)
Shows a form indicating that the nickname is already taken and for chosing a new nickname
showSpinner: function()
Show loading spinner
sliceMessagePane: function(roomJid)
Slices the message pane after the max amount of messages specified in the Candy View options (limit setting).
submit: function(event)
on submit handler for message field sends the message to the server and if it’s a private chat, shows the message immediately because the server doesn’t send back those message.
tabClick: function(e)
Tab click event: show the room associated with the tab and stops the event from doing the default.
tabClose: function()
Tab close (click) event: Leave the room (groupchat) or simply close the tab (chat).
self.unescapeJid = function(jid)
Unescapes a jid (node & resource get unescaped)
unignoreUser: function(roomJid,
userJid)
Unignore an ignored user and remove the ignore icon of the roster item.
update: function(event,
args)
Every presence update gets dispatched from this method.
update: function(roomJid,
user,
action,
currentUser)
Called by Candy.View.Observer.Presence.update to update the roster if needed.
update: function(roomJid)
Update toolbar for specific room
UpdatePrivacyList: function()
Updates privacy list according to the privacylist in the currentUser
Update usercount element with count.
UserAction: function(roomJid,
userJid,
type,
reason)
Kick or ban a user
userClick: function()
Click handler for opening a private room
Version: function(msg)
Replies to a version request
Version: function(msg)
Responds to a version request
Close