Noodle Help Site

Class Wave


Defined in: <./Wave/media/noodle.wave.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Wave(myParent)
Method Summary
Method Attributes Method Name and Description
 
addAttachment(id, aName, size, type, doc)
 
addMessage(doc, messageNode, addTop)
 
addMessages(messages, toTop, args, callback)
 
 
handleLoadingMore(anXMLNode, responseText, array)
 
 
handleSaveEditSummary(anXMLNode, responseText, array)
 
 
 
 
 
init()
 
injectUserLinkToInput(userEleArg, id, aName)
 
 
 
 
join()
 
loadFirstWaves(anXMLNode, responseText, array)
 
 
 
part()
 
push(anXMLNode)
 
 
 
 
 
 
setSummaryState(doc, empty, otherUserEditing, currentUserEditing)
 
setTopic(topics)
 
setUsers(users)
 
 
 
systemMessage(userID, fullName, act, doc)
 
toggleHideSideBar(linkElement, targetElementIdName)
 
 
 
 
Wave(myParent)
Parameters:
{Noodle} myParent
Returns:
{Wave}
addAttachment(id, aName, size, type, doc)
Parameters:
{String|Number} id
{String} aName
{String} size
{String|Number} type
{Document} doc
addMessage(doc, messageNode, addTop)
Parameters:
{Document} doc
{Node} messageNode
{Boolean} addTop
addMessages(messages, toTop, args, callback)
Parameters:
{Document} messages
{Boolean} toTop
{Array} args
{Function} callback
enableSummaryHideIcon()
handleLoadingMore(anXMLNode, responseText, array)
Parameters:
{Document|Null} anXMLNode
{String} responseText
{Array} array
handlePart()
handleSaveEditSummary(anXMLNode, responseText, array)
Parameters:
{Document|Null} anXMLNode
{String} responseText
{Array} array
handleScrollDown()
handleScrollUp()
hideEditSummary()
hideSummaryHideIcon()
init()
injectUserLinkToInput(userEleArg, id, aName)
Parameters:
{HTMLElement} userEleArg
{String|Number} id
{String} aName
{Boolean} inRoom()
Returns:
{Boolean} true if in active meeting room, false otherwise
insertLink(url)
Parameters:
{String} url
PATH
{Boolean} isAtBottom()
Returns:
{Boolean} true if at bottom of chat
join()
loadFirstWaves(anXMLNode, responseText, array)
Parameters:
{Document|Null} anXMLNode
{String} responseText
{Array} array
loadUp()
lookForWave()
part()
push(anXMLNode)
Parameters:
{Document} anXMLNode
resizeWavesView()
safeInit()
saveEditSummary()
scrollToBottom()
scrollToTopMessage()
setSummaryState(doc, empty, otherUserEditing, currentUserEditing)
Parameters:
{Document} doc
{Boolean} empty
{Boolean} otherUserEditing
{Boolean} currentUserEditing
setTopic(topics)
Parameters:
{Array} topics
setUsers(users)
Parameters:
{Array} users
showEditSummary()
showInsertLink()
systemMessage(userID, fullName, act, doc)
Parameters:
{String|Number} userID
{String} fullName
{String} act
{Document} doc
{Boolean} toggleHideSideBar(linkElement, targetElementIdName)
Parameters:
{HTMLElement} linkElement
{String} targetElementIdName
Returns:
{Boolean} false
toggleInsertAttachments()
{Boolean} toggleSystemMessages()
Returns:
{Boolean} false
{Boolean} vewingRoom()
Returns:
{Boolean} true if in active or archived meeting room, false otherwise
{Boolean} wasInRoom()
Returns:
{Boolean} true if in active meeting room