Class ecm.widget.VideoBookmarksPane


Extends dijit.layout.BorderContainer.
Provides a widget that is used to view bookmarks of or add bookmarks to an item. Also provides controls to edit and delete accessible bookmarks.
Defined in: <ecm\widget\VideoBookmarksPane.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
Discards the new bookmark that was being made.
 
 
compare(a, b)
 
 
Determines if there is a new bookmark that hasn't been added yet.
 
onAddBookmark(bookmark)
An event function called after a new bookmark is added.
 
An event function called when a bookmark is being made is discarded.
 
An event function called when a bookmark is empty.
 
An event function called when a bookmark is being made.
 
An event function called after the comments pane is rendered.
 
openBookmark(bookmark, evt)
 
 
 
Overrides postCreate to make necessary event connections.
 
Displays the bookmarks of the item.
 
resize(changeSize)
Overrides resize to make necessary adjustments to the size of containing widgets before resizing.
 
Scrolls to the last row in the bookmarks list.

Constructor Detail

ecm.widget.VideoBookmarksPane()

Since:
2.0.2

Method Detail

cancelNewBookmark()

Discards the new bookmark that was being made.

closeBookmark()


compare(a, b)

Parameters:
a
b

destroy()


{Boolean} isDirty()

Determines if there is a new bookmark that hasn't been added yet.
Returns:
{Boolean} A value of true if there is a new bookmark, otherwise false.

onAddBookmark(bookmark)

An event function called after a new bookmark is added.
Parameters:
bookmark
A ecm.model.Bookmark object added.

onCancelNewBookmark()

An event function called when a bookmark is being made is discarded.

onEmptyBookmarks()

An event function called when a bookmark is empty.

onNewBookmark()

An event function called when a bookmark is being made.

onRenderBookmarks(comments)

An event function called after the comments pane is rendered.
Parameters:
comments
A ecm.model.ResultSet object containing ecm.model.Comment objects.

openBookmark(bookmark, evt)

Parameters:
bookmark
evt

openNextBookmark()


openPreviousBookmark()


postCreate()

Overrides postCreate to make necessary event connections.

render()

Displays the bookmarks of the item.

resize(changeSize)

Overrides resize to make necessary adjustments to the size of containing widgets before resizing.
Parameters:
changeSize

scrollToLastRow()

Scrolls to the last row in the bookmarks list.