ChatMessageModel
A ChatMessageModel defines a message in the ChatPanel widget.
Properties
62
Properties
62Class hierarchy
Identifies an object as an instance of ChatMessageModel class, or subclass thereof.
Identifies an object as an instance of ChatMessageModel class, or subclass thereof.
isModelModel
isModelLinkModelLink
isModelStmModelStm
isTreeNodeTreeNode
Editing
copyOfModel
isBatchUpdatingModel
isCommittingModel
isCreatingModel
isModifiedModel
isValidModel
modificationDataModel
modificationsModel
JSON
jsonModel
Parent & children
allChildrenTreeNode
allUnfilteredChildrenTreeNode
childLevelTreeNode
descendantCountTreeNode
firstChildTreeNode
isLeafTreeNode
isLoadedTreeNode
isParentTreeNode
isRootTreeNode
lastChildTreeNode
nextSiblingTreeNode
parentTreeNode
parentIdTreeNode
previousSiblingTreeNode
previousSiblingsTotalCountTreeNode
visibleDescendantCountTreeNode
Functions
54
Functions
54Configuration
Editing
beginBatchModel
cancelBatchModel
clearChangesModel
copyModel
endBatchModel
getDataModel
getUnmodifiedModel
hasBatchedChangeModel
isFieldModifiedModel
removeModel
revertChangesModel
setModel
Events
detachListenersBase
Other
isEditableModel
Parent & children
ancestorsExpandedTreeNode
appendChildTreeNode
bubbleTreeNode
bubbleWhileTreeNode
clearChildrenTreeNode
containsTreeNode
convertToParentTreeNode
getDescendantCountTreeNode
insertChildTreeNode
isExpandedTreeNode
removeChildTreeNode
replaceChildrenTreeNode
traverseTreeNode
traverseBeforeTreeNode
traverseWhileTreeNode
Typedefs
1
Typedefs
1RelationConfigModel
Fields
4
Fields
4fromOther: Boolean
A boolean indicating the source of the message. true if it's a remote message, false for a local message
options: String[]
An array of strings to present to the user in the UI. After user picks a value, the conversation can continue.
text: String
The message text
timestamp: Date
The timestamp of this message