Class Index | File Index

Classes


Class gui.AnnotationController


Defined in: AnnotationController.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
gui.AnnotationController(session, sessionConstraints, inputMemberId)
Field Summary
Field Attributes Field Name and Description
<static>  
gui.AnnotationController.annotatableChanged
Method Summary
Method Attributes Method Name and Description
 
Adds an annotation to the document based on the current selection
 
destroy(callback,)
 
<inner>  
onCursorAdded(cursor)
<inner>  
onCursorMoved(cursor)
<inner>  
onCursorRemoved(memberId)
 
removeAnnotation(annotationNode)
 
subscribe(eventid, cb)
 
unsubscribe(eventid, cb)
<inner>  
Class Detail
gui.AnnotationController(session, sessionConstraints, inputMemberId)
Parameters:
{!ops.Session} session
{!gui.SessionConstraints} sessionConstraints
{!string} inputMemberId
Field Detail
<static> gui.AnnotationController.annotatableChanged
Method Detail
{undefined} addAnnotation()
Adds an annotation to the document based on the current selection
Returns:
{undefined}

{undefined} destroy(callback,)
Parameters:
{!function(!Error=)} callback,
passing an error object in case of error
Returns:
{undefined}

{!boolean} isAnnotatable()
Returns:
{!boolean}

<inner> {undefined} onCursorAdded(cursor)
Parameters:
{!ops.OdtCursor} cursor
Returns:
{undefined}

<inner> {undefined} onCursorMoved(cursor)
Parameters:
{!ops.OdtCursor} cursor
Returns:
{undefined}

<inner> {undefined} onCursorRemoved(memberId)
Parameters:
{!string} memberId
Returns:
{undefined}

{undefined} removeAnnotation(annotationNode)
Parameters:
{!Element} annotationNode
Returns:
{undefined}

{undefined} subscribe(eventid, cb)
Parameters:
{!string} eventid
{!Function} cb
Returns:
{undefined}

{undefined} unsubscribe(eventid, cb)
Parameters:
{!string} eventid
{!Function} cb
Returns:
{undefined}

<inner> {undefined} updatedCachedValues()
Returns:
{undefined}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 06 2015 04:10:40 GMT+0200 (MESZ)