Class JSViewFactory
Defined in: JSViewFactory.js.
Constructor Attributes | Constructor Name and Description |
---|---|
JSViewFactory(application)
A view default factory that is use to create all the views in the application.
|
Method Attributes | Method Name and Description |
---|---|
createCompassView(preferences, controller)
|
|
createFurnitureView(home, preferences, controller)
|
|
createHomeFurnitureView(preferences, controller)
|
|
createImportedTextureWizardStepsView(texture, textureName, preferences, controller)
|
|
createPolylineView(preferences, controller)
Creates a polyline editor dialog
|
|
createRoomView(preferences, controller)
|
|
createTextureChoiceView(preferences, textureChoiceController)
Creates a texture selection component
|
|
createUserPreferencesView(preferences, controller)
|
|
createWizardView(preferences, controller)
Returns a new view that displays a wizard.
|
Class Detail
JSViewFactory(application)
A view default factory that is use to create all the views in the application.
Author: Emmanuel Puybaret, Renaud Pawlak, Louis Grignon.
Author: Emmanuel Puybaret, Renaud Pawlak, Louis Grignon.
- Parameters:
- application
Method Detail
{JSCompassDialogView}
createCompassView(preferences, controller)
- Parameters:
- {UserPreferences} preferences
- {CompassController} controller
- Returns:
- {JSCompassDialogView}
{FurnitureListPanel | undefined}
createFurnitureView(home, preferences, controller)
- Parameters:
- {Home} home
- {UserPreferences} preferences
- {FurnitureController} controller
- Returns:
- {FurnitureListPanel | undefined} undefined if DOM element #furniture-view is not found (feature is disabled)
createHomeFurnitureView(preferences, controller)
- Parameters:
- {UserPreferences} preferences
- {HomeFurnitureController} controller
{JSComponent}
createImportedTextureWizardStepsView(texture, textureName, preferences, controller)
- Parameters:
- {CatalogTexture} texture
- {string} textureName
- {UserPreferences} preferences
- {ImportedTextureWizardController} controller
- Returns:
- {JSComponent}
createPolylineView(preferences, controller)
Creates a polyline editor dialog
- Parameters:
- {UserPreferences} preferences
- {PolylineController} controller
{JSDialog}
createRoomView(preferences, controller)
- Parameters:
- {UserPreferences} preferences
- {RoomController} controller
- Returns:
- {JSDialog}
{JSComponent}
createTextureChoiceView(preferences, textureChoiceController)
Creates a texture selection component
- Parameters:
- {UserPreferences} preferences
- current user's preferences
- {TextureChoiceController} textureChoiceController
- texture choice controller
- Returns:
- {JSComponent}
createUserPreferencesView(preferences, controller)
- Parameters:
- {UserPreferences} preferences
- {UserPreferencesController} controller
createWizardView(preferences, controller)
Returns a new view that displays a wizard.
- Parameters:
- {UserPreferences} preferences
- the current user preferences
- {WizardController} controller
- wizard's controller