public class HomeAppletController extends HomePluginController
Constructor and Description |
---|
HomeAppletController(Home home,
HomeApplication application,
ViewFactory viewFactory,
ContentManager contentManager,
PluginManager pluginManager,
boolean newHomeEnabled,
boolean openEnabled,
boolean saveEnabled,
boolean saveAsEnabled) |
HomeAppletController(Home home,
HomeApplication application,
ViewFactory viewFactory,
ContentManager contentManager,
PluginManager pluginManager,
boolean newHomeEnabled,
boolean openEnabled,
boolean saveEnabled,
boolean saveAsEnabled,
long homeMaximumLength) |
Modifier and Type | Method and Description |
---|---|
void |
editPreferences()
Edits preferences relevant to applet version.
|
void |
exportToSH3D()
Controls the export of home to a SH3D file.
|
HomeView |
getView()
Returns the view associated with this controller.
|
void |
help()
Displays Sweet Home user guide in a navigator window.
|
void |
importFromSH3D()
Controls the import of home from a SH3D file.
|
void |
newHome()
Creates a new home after saving and deleting the current home.
|
void |
open()
Opens a home after saving and deleting the current home.
|
void |
save()
Forces a save as operation for imported homes.
|
protected void |
saveAs(HomeRecorder.Type recorderType,
java.lang.Runnable postSaveTask)
Prompts the user to choose a name for the edited home,
suggesting the imported file name after an import.
|
getPlugins, importPlugin
about, addFurnitureToGroup, addHomeFurniture, attachView, checkUpdates, close, close, createPhoto, createPhotos, createTransferData, createVideo, cut, delete, deleteBackgroundImage, deleteCameras, deleteRecentHomes, detachView, disableMagnetism, drop, drop, drop, drop, dropFiles, enableActionsBoundToSelection, enableMagnetism, enablePasteAction, enableSelectAllAction, exit, exportToCSV, exportToOBJ, exportToSVG, focusedViewChanged, getContentManager, getFurnitureCatalogController, getFurnitureController, getHomeController3D, getPlanController, getRecentHomes, getUndoableEditSupport, getVersion, hideBackgroundImage, importBackgroundImage, importFurniture, importFurnitureLibrary, importFurnitureLibrary, importLanguageLibrary, importLanguageLibrary, importTexture, importTexturesLibrary, importTexturesLibrary, modifyBackgroundImage, modifySelectedFurniture, newHomeFromExample, open, paste, pasteStyle, pasteToGroup, previewPrint, print, printToPDF, redo, saveAndCompress, saveAs, saveAsAndCompress, selectAll, setHomeProperty, setMode, setupPage, setVisualProperty, showBackgroundImage, storeCamera, undo, zoomIn, zoomOut
public HomeAppletController(Home home, HomeApplication application, ViewFactory viewFactory, ContentManager contentManager, PluginManager pluginManager, boolean newHomeEnabled, boolean openEnabled, boolean saveEnabled, boolean saveAsEnabled)
public HomeAppletController(Home home, HomeApplication application, ViewFactory viewFactory, ContentManager contentManager, PluginManager pluginManager, boolean newHomeEnabled, boolean openEnabled, boolean saveEnabled, boolean saveAsEnabled, long homeMaximumLength)
public HomeView getView()
getView
in interface Controller
getView
in class HomeController
public void newHome()
newHome
in class HomeController
public void open()
open
in class HomeController
public void save()
save
in class HomeController
protected void saveAs(HomeRecorder.Type recorderType, java.lang.Runnable postSaveTask)
saveAs
in class HomeController
public void help()
help
in class HomeController
public void exportToSH3D()
public void importFromSH3D()
public void editPreferences()
editPreferences
in class HomeController
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License