Class Index | File Index

Classes


Function Namespace vonline.Document


Defined in: document.js.

Function Namespace Summary
Constructor Attributes Constructor Name and Description
 
application class, cares on initialization and maintenance
Method Summary
Method Attributes Method Name and Description
 
initializes the bottom-menu
 
initializes the top-menu
 
load the categories for the document
 
loads specific snapshot and display the corresponding document
 
redirect browser to document list
 
redo action (if possible)
 
save a snapshot of the current document / send document data to server
 
undo action (if possible)
 
disable undo/redo-button if there is nothing to undo/redo
Function Namespace Detail
vonline.Document(id)
application class, cares on initialization and maintenance
Parameters:
{number} id
the document id
Method Detail
{vonline.Menu} initBottomMenu()
initializes the bottom-menu
Returns:
{vonline.Menu}

{vonline.Menu} initTopMenu()
initializes the top-menu
Returns:
{vonline.Menu}

loadCategories()
load the categories for the document

loadSnapshot(id)
loads specific snapshot and display the corresponding document
Parameters:
{number} id
the snapshot id (-1 for latest snapshot)

openDocumentView()
redirect browser to document list

redoCommand()
redo action (if possible)

saveSnapshot()
save a snapshot of the current document / send document data to server

undoCommand()
undo action (if possible)

updateMenu()
disable undo/redo-button if there is nothing to undo/redo

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Mar 03 2011 22:07:39 GMT+0100 (MEZ)