Class Index | File Index

Classes


Class mindmaps.Document


Defined in: Document.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new Document.
Method Summary
Method Attributes Method Name and Description
<static>  
mindmaps.Document.fromJSON(json)
Creates a new document object from a JSON string.
<static>  
mindmaps.Document.fromObject(json)
Creates a new document object from a generic object.
 
Returns the created date.
 
Tells whether this document considerd as "new", that is has not been saved yet.
 
Returns a JSON representation of the object.
<static>  
mindmaps.Document.sortByModifiedDateDescending(doc1, doc2)
Sort function for Array.sort().
<private>  
Called by JSON.stringify().
Class Detail
mindmaps.Document()
Creates a new Document.
Method Detail
<static> {mindmaps.Document} mindmaps.Document.fromJSON(json)
Creates a new document object from a JSON string.
Parameters:
{String} json
Returns:
{mindmaps.Document}

<static> {mindmaps.Document} mindmaps.Document.fromObject(json)
Creates a new document object from a generic object.
Parameters:
{Object} json
Returns:
{mindmaps.Document}

{Date} getCreatedDate()
Returns the created date.
Returns:
{Date}

{Boolean} isNew()
Tells whether this document considerd as "new", that is has not been saved yet.
Returns:
{Boolean}

{String} serialize()
Returns a JSON representation of the object.
Returns:
{String} the json.

<static> mindmaps.Document.sortByModifiedDateDescending(doc1, doc2)
Sort function for Array.sort().
Parameters:
{mindmaps.Document} doc1
{mindmaps.Document} doc2

<private> toJSON()
Called by JSON.stringify().

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jul 18 2011 18:03:15 GMT+0000 (WEST)