Sweet Home 3D 4.1

com.eteks.sweethome3d.swing
Class SwingViewFactory

java.lang.Object
  extended by com.eteks.sweethome3d.swing.SwingViewFactory
All Implemented Interfaces:
ViewFactory

public class SwingViewFactory
extends Object
implements ViewFactory

View factory that instantiates the Swing components of this package.

Author:
Emmanuel Puybaret

Constructor Summary
SwingViewFactory()
           
 
Method Summary
 View createBackgroundImageWizardStepsView(BackgroundImage backgroundImage, UserPreferences preferences, BackgroundImageWizardController backgroundImageWizardController)
          Returns a new view that displays the different steps that helps user to choose a background image.
 DialogView createCompassView(UserPreferences preferences, CompassController compassController)
          Returns a new view that edits compass values.
 View createFurnitureCatalogView(FurnitureCatalog catalog, UserPreferences preferences, FurnitureCatalogController furnitureCatalogController)
          Returns a new view that displays furniture catalog.
 View createFurnitureView(Home home, UserPreferences preferences, FurnitureController furnitureController)
          Returns a new table that displays home furniture.
 HelpView createHelpView(UserPreferences preferences, HelpController helpController)
          Returns a new view that displays Sweet Home 3D help.
 DialogView createHome3DAttributesView(UserPreferences preferences, Home3DAttributesController home3DAttributesController)
          Returns a new view that edits 3D attributes.
 DialogView createHomeFurnitureView(UserPreferences preferences, HomeFurnitureController homeFurnitureController)
          Returns a new view that edits furniture values.
 HomeView createHomeView(Home home, UserPreferences preferences, HomeController homeController)
          Returns a new view that displays home and its sub views.
 ImportedFurnitureWizardStepsView createImportedFurnitureWizardStepsView(CatalogPieceOfFurniture piece, String modelName, boolean importHomePiece, UserPreferences preferences, ImportedFurnitureWizardController importedFurnitureWizardController)
          Returns a new view that displays the different steps that helps user to import furniture.
 View createImportedTextureWizardStepsView(CatalogTexture texture, String textureName, UserPreferences preferences, ImportedTextureWizardController importedTextureWizardController)
          Returns a new view that displays the different steps that helps the user to import a texture.
 DialogView createLabelView(boolean modification, UserPreferences preferences, LabelController labelController)
          Returns a new view that edits label values.
 DialogView createLevelView(UserPreferences preferences, LevelController levelController)
          Returns a new view that edits level values.
 View createModelMaterialsView(UserPreferences preferences, ModelMaterialsController controller)
          Returns a new view that edits the materials of its controller.
 DialogView createObserverCameraView(UserPreferences preferences, ObserverCameraController observerCameraController)
          Returns a new view that edits observer camera values.
 DialogView createPageSetupView(UserPreferences preferences, PageSetupController pageSetupController)
          Creates a new view that edits page setup.
 DialogView createPhotosView(Home home, UserPreferences preferences, PhotosController photosController)
          Returns a new view able to compute a photos of a home from its stored points of view.
 DialogView createPhotoView(Home home, UserPreferences preferences, PhotoController photoController)
          Returns a new view able to create photo realistic images of the given home.
 PlanView createPlanView(Home home, UserPreferences preferences, PlanController planController)
          Returns a new view that displays home plan.
 DialogView createPrintPreviewView(Home home, UserPreferences preferences, HomeController homeController, PrintPreviewController printPreviewController)
          Returns a new view that displays home print preview.
 DialogView createRoomView(UserPreferences preferences, RoomController roomController)
          Returns a new view that edits room values.
 TextureChoiceView createTextureChoiceView(UserPreferences preferences, TextureChoiceController textureChoiceController)
          Returns a new view that edits the texture of the given controller.
 ThreadedTaskView createThreadedTaskView(String taskMessage, UserPreferences preferences, ThreadedTaskController threadedTaskController)
          Returns a new view that displays message for a threaded task.
 DialogView createUserPreferencesView(UserPreferences preferences, UserPreferencesController userPreferencesController)
          Returns a new view that edits user preferences.
 DialogView createVideoView(Home home, UserPreferences preferences, VideoController videoController)
          Returns a new view able to create 3D videos of the given home.
 View createView3D(Home home, UserPreferences preferences, HomeController3D homeController3D)
          Returns a new view that displays home in 3D.
 DialogView createWallView(UserPreferences preferences, WallController wallController)
          Returns a new view that edits wall values.
 DialogView createWizardView(UserPreferences preferences, WizardController wizardController)
          Returns a new view that displays a wizard.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingViewFactory

public SwingViewFactory()
Method Detail

createFurnitureCatalogView

public View createFurnitureCatalogView(FurnitureCatalog catalog,
                                       UserPreferences preferences,
                                       FurnitureCatalogController furnitureCatalogController)
Returns a new view that displays furniture catalog.

Specified by:
createFurnitureCatalogView in interface ViewFactory

createFurnitureView

public View createFurnitureView(Home home,
                                UserPreferences preferences,
                                FurnitureController furnitureController)
Returns a new table that displays home furniture.

Specified by:
createFurnitureView in interface ViewFactory

createPlanView

public PlanView createPlanView(Home home,
                               UserPreferences preferences,
                               PlanController planController)
Returns a new view that displays home plan.

Specified by:
createPlanView in interface ViewFactory

createView3D

public View createView3D(Home home,
                         UserPreferences preferences,
                         HomeController3D homeController3D)
Returns a new view that displays home in 3D.

Specified by:
createView3D in interface ViewFactory

createHomeView

public HomeView createHomeView(Home home,
                               UserPreferences preferences,
                               HomeController homeController)
Returns a new view that displays home and its sub views.

Specified by:
createHomeView in interface ViewFactory

createWizardView

public DialogView createWizardView(UserPreferences preferences,
                                   WizardController wizardController)
Returns a new view that displays a wizard.

Specified by:
createWizardView in interface ViewFactory

createBackgroundImageWizardStepsView

public View createBackgroundImageWizardStepsView(BackgroundImage backgroundImage,
                                                 UserPreferences preferences,
                                                 BackgroundImageWizardController backgroundImageWizardController)
Returns a new view that displays the different steps that helps user to choose a background image.

Specified by:
createBackgroundImageWizardStepsView in interface ViewFactory

createImportedFurnitureWizardStepsView

public ImportedFurnitureWizardStepsView createImportedFurnitureWizardStepsView(CatalogPieceOfFurniture piece,
                                                                               String modelName,
                                                                               boolean importHomePiece,
                                                                               UserPreferences preferences,
                                                                               ImportedFurnitureWizardController importedFurnitureWizardController)
Returns a new view that displays the different steps that helps user to import furniture.

Specified by:
createImportedFurnitureWizardStepsView in interface ViewFactory

createImportedTextureWizardStepsView

public View createImportedTextureWizardStepsView(CatalogTexture texture,
                                                 String textureName,
                                                 UserPreferences preferences,
                                                 ImportedTextureWizardController importedTextureWizardController)
Returns a new view that displays the different steps that helps the user to import a texture.

Specified by:
createImportedTextureWizardStepsView in interface ViewFactory

createThreadedTaskView

public ThreadedTaskView createThreadedTaskView(String taskMessage,
                                               UserPreferences preferences,
                                               ThreadedTaskController threadedTaskController)
Returns a new view that displays message for a threaded task.

Specified by:
createThreadedTaskView in interface ViewFactory

createUserPreferencesView

public DialogView createUserPreferencesView(UserPreferences preferences,
                                            UserPreferencesController userPreferencesController)
Returns a new view that edits user preferences.

Specified by:
createUserPreferencesView in interface ViewFactory

createLevelView

public DialogView createLevelView(UserPreferences preferences,
                                  LevelController levelController)
Returns a new view that edits level values.

Specified by:
createLevelView in interface ViewFactory

createHomeFurnitureView

public DialogView createHomeFurnitureView(UserPreferences preferences,
                                          HomeFurnitureController homeFurnitureController)
Returns a new view that edits furniture values.

Specified by:
createHomeFurnitureView in interface ViewFactory

createWallView

public DialogView createWallView(UserPreferences preferences,
                                 WallController wallController)
Returns a new view that edits wall values.

Specified by:
createWallView in interface ViewFactory

createRoomView

public DialogView createRoomView(UserPreferences preferences,
                                 RoomController roomController)
Returns a new view that edits room values.

Specified by:
createRoomView in interface ViewFactory

createLabelView

public DialogView createLabelView(boolean modification,
                                  UserPreferences preferences,
                                  LabelController labelController)
Returns a new view that edits label values.

Specified by:
createLabelView in interface ViewFactory

createCompassView

public DialogView createCompassView(UserPreferences preferences,
                                    CompassController compassController)
Returns a new view that edits compass values.

Specified by:
createCompassView in interface ViewFactory

createHome3DAttributesView

public DialogView createHome3DAttributesView(UserPreferences preferences,
                                             Home3DAttributesController home3DAttributesController)
Returns a new view that edits 3D attributes.

Specified by:
createHome3DAttributesView in interface ViewFactory

createObserverCameraView

public DialogView createObserverCameraView(UserPreferences preferences,
                                           ObserverCameraController observerCameraController)
Returns a new view that edits observer camera values.

Specified by:
createObserverCameraView in interface ViewFactory

createTextureChoiceView

public TextureChoiceView createTextureChoiceView(UserPreferences preferences,
                                                 TextureChoiceController textureChoiceController)
Returns a new view that edits the texture of the given controller.

Specified by:
createTextureChoiceView in interface ViewFactory

createModelMaterialsView

public View createModelMaterialsView(UserPreferences preferences,
                                     ModelMaterialsController controller)
Returns a new view that edits the materials of its controller.

Specified by:
createModelMaterialsView in interface ViewFactory

createPageSetupView

public DialogView createPageSetupView(UserPreferences preferences,
                                      PageSetupController pageSetupController)
Creates a new view that edits page setup.

Specified by:
createPageSetupView in interface ViewFactory

createPrintPreviewView

public DialogView createPrintPreviewView(Home home,
                                         UserPreferences preferences,
                                         HomeController homeController,
                                         PrintPreviewController printPreviewController)
Returns a new view that displays home print preview.

Specified by:
createPrintPreviewView in interface ViewFactory

createPhotosView

public DialogView createPhotosView(Home home,
                                   UserPreferences preferences,
                                   PhotosController photosController)
Returns a new view able to compute a photos of a home from its stored points of view.

Specified by:
createPhotosView in interface ViewFactory

createPhotoView

public DialogView createPhotoView(Home home,
                                  UserPreferences preferences,
                                  PhotoController photoController)
Returns a new view able to create photo realistic images of the given home.

Specified by:
createPhotoView in interface ViewFactory

createVideoView

public DialogView createVideoView(Home home,
                                  UserPreferences preferences,
                                  VideoController videoController)
Returns a new view able to create 3D videos of the given home.

Specified by:
createVideoView in interface ViewFactory

createHelpView

public HelpView createHelpView(UserPreferences preferences,
                               HelpController helpController)
Returns a new view that displays Sweet Home 3D help.

Specified by:
createHelpView in interface ViewFactory

Sweet Home 3D 4.1

© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License