Sweet Home 3D 4.0

com.eteks.sweethome3d.applet
Class AppletApplication

java.lang.Object
  extended by com.eteks.sweethome3d.model.HomeApplication
      extended by com.eteks.sweethome3d.applet.AppletApplication

public class AppletApplication
extends HomeApplication

An application wrapper working in applet.

Author:
Emmanuel Puybaret

Constructor Summary
AppletApplication(JApplet applet)
           
 
Method Summary
protected  HomeController createHomeController(Home home)
          Returns a new instance of a home controller after home was created.
 void destroy()
          Deletes open homes and clears all the resources used by this application.
protected  ContentManager getContentManager()
          Returns a content manager able to handle files.
 HomeRecorder getHomeRecorder()
          Returns a recorder able to write and read homes on server.
 String getName()
          Returns applet name.
protected  PluginManager getPluginManager()
          Returns the plugin manager of this application.
 UserPreferences getUserPreferences()
          Returns user preferences.
 String getVersion()
          Returns information about the version of this applet application.
protected  ViewFactory getViewFactory()
          Returns a Swing view factory.
 boolean isModified()
          Returns true if one of the homes of this application is modified.
 
Methods inherited from class com.eteks.sweethome3d.model.HomeApplication
addHome, addHomesListener, createHome, deleteHome, getHomeRecorder, getHomes, getId, removeHomesListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppletApplication

public AppletApplication(JApplet applet)
Method Detail

destroy

public void destroy()
Deletes open homes and clears all the resources used by this application. This method is called when an applet is destroyed.


isModified

public boolean isModified()
Returns true if one of the homes of this application is modified.


createHomeController

protected HomeController createHomeController(Home home)
Returns a new instance of a home controller after home was created.


getHomeRecorder

public HomeRecorder getHomeRecorder()
Returns a recorder able to write and read homes on server.

Specified by:
getHomeRecorder in class HomeApplication

getUserPreferences

public UserPreferences getUserPreferences()
Returns user preferences.

Specified by:
getUserPreferences in class HomeApplication

getContentManager

protected ContentManager getContentManager()
Returns a content manager able to handle files.


getViewFactory

protected ViewFactory getViewFactory()
Returns a Swing view factory.


getPluginManager

protected PluginManager getPluginManager()
Returns the plugin manager of this application.


getName

public String getName()
Returns applet name.

Overrides:
getName in class HomeApplication

getVersion

public String getVersion()
Returns information about the version of this applet application.

Overrides:
getVersion in class HomeApplication

Sweet Home 3D 4.0

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