Class Index | File Index

Classes


Class SweetHome3DJSApplication


Defined in: SweetHome3DJSApplication.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
HomeApplication implementation for JavaScript.
Method Summary
Method Attributes Method Name and Description
 
Create the HomeController which controls the given home.
 
Returns the HomeController associated to the given home.
 
Returns the view factory which will create the views associated to their controllers.
Class Detail
SweetHome3DJSApplication()
HomeApplication implementation for JavaScript.
Author: Emmanuel Puybaret, Renaud Pawlak.
Parameters:
{{furnitureCatalogURLs: string[], furnitureResourcesURLBase: string, texturesCatalogURLs: string[], texturesResourcesURLBase: string, readHomeURL: string, writeHomeEditsURL|writeHomeURL: string, closeHomeURL: string, writeResourceURL: string, readResourceURL: string, writePreferencesURL: string, readPreferencesURL: string, writePreferencesResourceURL: string, readPreferencesResourceURL: string, pingURL: string, autoWriteDelay: number, trackedHomeProperties: string[], autoWriteTrackedStateChange: boolean, defaultUserLanguage: string, writeCacheResourceURL: string, readCacheResourceURL: string, listCacheResourcesURL: string, listHomesURL: string, deleteHomeURL: string, autoRecovery: boolean, autoRecoveryDatabase: string, autoRecoveryObjectstore: string, silentAutoRecovery: boolean, compressionLevel: number, includeAllContent: boolean, writeDataType: string, writeHomeWithWorker: boolean, defaultHomeName: string, writingObserver: {writeStarted: Function, writeSucceeded: Function, writeFailed: Function, connectionFound: Function, connectionLost: Function}} [configuration] the URLs of resources and services required on server (if undefined, will use local files for testing). If writePreferencesResourceURL / readPreferencesResourceURL is missing, writeResourceURL / readResourceURL will be used. If writeHomeEditsURL and readHomeURL are missing, application recorder will be an instance of HomeRecorder. If writeHomeEditsURL is missing, application recorder will be an instance of DirectHomeRecorder. Auto recovery not available for incremental recorder.
Method Detail
createHomeController(home)
Create the HomeController which controls the given home.
Parameters:
{Home} home

{HomeController} getHomeController(home)
Returns the HomeController associated to the given home.
Parameters:
home
Returns:
{HomeController}

{Object} getViewFactory()
Returns the view factory which will create the views associated to their controllers.
Returns:
{Object}

© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Aug 21 2024 17:43:24 GMT+0200 (CEST)