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
G
 get, Candy.Core.ChatRoster
 getAffiliation, Candy.Core.ChatUser
 getAll, Candy.Core.ChatRoster
 getConnection, Candy.Core
 getCookie, Candy.Util
 getCurrent, Candy.View
 getCustomData, Candy.Core.ChatUser
 getEscapedJid, Candy.Core.ChatUser
 GetIgnoreList, Candy.Core.Action.Jabber
 getJid
 GetJidIfAnonymous, Candy.Core.Action.Jabber
 getMenuLinks, Candy.View.Pane.Context
 getName, Candy.Core.ChatRoom
 getNick, Candy.Core.ChatUser
 getOptions
 getPane, Candy.View.Pane.Room
 getPosLeftAccordingToWindowBounds, Candy.Util
 getPosTopAccordingToWindowBounds, Candy.Util
 getPrivacyList, Candy.Core.ChatUser
 getRole, Candy.Core.ChatUser
 getRoom, Candy.Core
 getRooms, Candy.Core
 getRoster, Candy.Core.ChatRoom
 getTab, Candy.View.Pane.Chat
 getUser
H
 hasFocus, Candy.View.Pane.Window
 hide
Candy.View.Pane.ModalCandy.View.Pane.Toolbar
 hideCloseControl, Candy.View.Pane.Modal
 hideSpinner, Candy.View.Pane.Modal
I
 IgnoreUnignore, Candy.Core.Action.Jabber.Room
 ignoreUser, Candy.View.Pane.Room
 increaseUnreadMessages
Candy.View.Pane.ChatCandy.View.Pane.Window
 infoMessage, Candy.View.Pane.Chat
 init
 initialMenuLinks, Candy.View.Pane.Context
 isAnonymousConnection, Candy.Core
 isEmptyObject, Candy.Util
 isInPrivacyList, Candy.Core.ChatUser
 isModerator, Candy.Core.ChatUser
 iso8610toDate, Candy.Util
J
 jidToId, Candy.Util
 Join, Candy.Core.Action.Jabber.Room
 joinAnimation, Candy.View.Pane.PrivateRoom
L
 Leave
Candy.Core.Action.Jabber.RoomCandy.Core.Event.Jabber.Room
 leaveAnimation, Candy.View.Pane.PrivateRoom
 linkify, Candy.Util.Parser
 localizedTime, Candy.Util
 log, Candy.Core
 Login, Candy.Core.Event.Strophe
this.get = function(jid)
Get user from roster
this.getAffiliation = function()
Gets user affiliation
this.getAll = function()
Get all items
self.getConnection = function()
Gets Strophe connection
self.getCookie = function(name)
Returns the cookie value if there’s one with this name, otherwise returns undefined
self.getCurrent = function()
Get current container & roomJid in an object.
this.getCustomData = function()
Retrieve custom data
this.getEscapedJid = function()
Escapes the user’s jid (node & resource get escaped)
GetIgnoreList: function()
Get existing ignore privacy list when connecting.
this.getJid = function()
Get room jid
this.getJid = function()
Gets an unescaped user jid
GetJidIfAnonymous: function()
On anonymous login, initially we don’t know the jid and as a result, Candy.Core._user doesn’t have a jid.
getMenuLinks: function(roomJid,
user,
elem)
Extends initialMenuLinks with Candy.View.Event.Roster.onContextMenu links and returns those.
this.getName = function()
Get room name
this.getNick = function()
Gets user nick
self.getOptions = function()
Gets options
self.getOptions = function()
Gets options
getPane: function(roomJid,
subPane)
Get the chat room pane or a subPane of it (if subPane is specified)
self.getPosLeftAccordingToWindowBounds = function(elem,
pos)
Fetches the window width and element width and checks if specified position + element width is bigger than the window width.
self.getPosTopAccordingToWindowBounds = function(elem,
pos)
Fetches the window height and element height and checks if specified position + element height is bigger than the window height.
this.getPrivacyList = function(list)
Returns the privacy list of the listname of the param.
this.getRole = function()
Gets user role
self.getRoom = function(roomJid)
Gets a specific room
self.getRooms = function()
Gets all joined rooms
this.getRoster = function()
Get roster
getTab: function(roomJid)
Get tab by JID.
self.getUser = function()
Gets current user
this.getUser = function()
Get current local user
getUser: function(roomJid)
Get the current user in the room specified with the jid
hasFocus: function()
Checks if window has focus
hide: function(callback)
Hide modal window
hide: function()
Hide toolbar.
hideCloseControl: function()
Hide the close button
hideSpinner: function()
Hide loading spinner
IgnoreUnignore: function(userJid)
Checks if the user is already ignoring the target user, if yes: unignore him, if no: ignore him.
ignoreUser: function(roomJid,
userJid)
Ignore specified user and add the ignore icon to the roster item of the user
increaseUnreadMessages: function(roomJid)
Increase unread message count in a tab by one.
increaseUnreadMessages: function()
Increases unread message count in window title by one.
infoMessage: function(roomJid,
subject,
message)
Display info message.
self.init = function(service,
options)
Init view & core
self.init = function(service,
options)
Initialize Core.
self.init = function(container,
options)
Initialize chat view (setup DOM, register handlers & observers)
init: function()
Initialize context menu and setup mouseleave handler.
init: function(roomJid,
roomName,
roomType)
Initialize a new room and inserts the room html into the DOM
initialMenuLinks: function()
self.isAnonymousConnection = function()
Returns true if Candy.Core.connect was first called with a domain instead of a jid as the first param.
self.isEmptyObject = function(obj)
IE7 doesn’t work with jQuery.isEmptyObject (<=1.5.1), workaround.
this.isInPrivacyList = function(list,
jid)
Tests if this user ignores the user provided by jid.
this.isModerator = function()
Check if user is moderator.
Parses a ISO-8610 Date to a Date-Object.
self.jidToId = function(jid)
Translates a jid to a MD5-Id
Join: function(roomJid,
password)
Requests disco of specified room and joins afterwards.
joinAnimation: function(elementId)
Animates specified elementId on join
Leave: function(roomJid)
Leaves a room.
Leave: function(msg)
Leaves a room and cleans up related data and notifies view.
leaveAnimation: function(elementId)
Leave animation for specified element id and removes the DOM element on completion.
linkify: function(text)
Replaces URLs with a HTML-link.
self.localizedTime = function(dateTime)
Localizes ISO-8610 Date with the time/dateformat specified in the translation.
self.log = function()
Overridden to do something useful if debug is set to true.
self.Login = function(presetJid)
Notify view that the login window should be displayed
Close