Class ecm.widget.listView.editors.BookmarkEditor


Extends dijit._WidgetBase.
Provides an editor that is used to add or edit bookmarks of an item.
Defined in: <ecm\widget\listView\editors\BookmarkEditor.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
 
Returns true if the bookmark text is not empty
 
This event is called when a bookmark is emptied.
 
onSaveBookmark(response)
This event is called after the bookmark is saved.
 
This event is called when a bookmark is being added or edited.
 
Overrides postCreate to make necessary event connections.
 
Overrides resize to adjust the size of the text input box after resizing.
 
saveBookmark(callback, errorback)
Saves a bookmark to the item with the text in the input box.
 

Constructor Detail

ecm.widget.listView.editors.BookmarkEditor()

Since:
2.0.2

Method Detail

cancelNewBookmark()


isValid()

Returns true if the bookmark text is not empty

onEmptyBookmark()

This event is called when a bookmark is emptied.

onSaveBookmark(response)

This event is called after the bookmark is saved.
Parameters:
response
A JSON object containing the saved bookmark and an array of all bookmarks of the item

onStartBookmark()

This event is called when a bookmark is being added or edited.

postCreate()

Overrides postCreate to make necessary event connections.

resize()

Overrides resize to adjust the size of the text input box after resizing.

saveBookmark(callback, errorback)

Saves a bookmark to the item with the text in the input box.
Parameters:
callback
errorback

setCurrentTime(time)

Parameters:
time