|
Sweet Home 3D 2.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eteks.sweethome3d.model.UserPreferences
com.eteks.sweethome3d.applet.AppletUserPreferences
public class AppletUserPreferences
Applet user preferences.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.eteks.sweethome3d.model.UserPreferences |
|---|
UserPreferences.Property |
| Constructor Summary | |
|---|---|
AppletUserPreferences(URL[] pluginFurnitureCatalogURLs,
URL[] pluginTexturesCatalogURLs)
Creates default user preferences read from resource files and catalogs urls given in parameter. |
|
AppletUserPreferences(URL[] pluginFurnitureCatalogURLs,
URL[] pluginTexturesCatalogURLs,
URL writePreferencesURL,
URL readPreferencesURL)
Creates default user preferences read from resource files and catalogs urls given in parameter, then reads saved user preferences from the XML content returned by readPreferencesURL,
if URL isn't null or empty. |
|
AppletUserPreferences(URL[] pluginFurnitureCatalogURLs,
URL[] pluginTexturesCatalogURLs,
URL writePreferencesURL,
URL readPreferencesURL,
String userLanguage)
Creates default user preferences read from resource files and catalogs urls given in parameter, then reads saved user preferences from the XML content returned by readPreferencesURL,
if URL isn't null or empty. |
|
AppletUserPreferences(URL[] pluginFurnitureCatalogURLs,
URL furnitureResourcesUrlBase,
URL[] pluginTexturesCatalogURLs,
URL texturesResourcesUrlBase,
URL writePreferencesURL,
URL readPreferencesURL,
String userLanguage)
Creates default user preferences read from resource files and catalogs urls given in parameter, then reads saved user preferences from the XML content returned by readPreferencesURL,
if URL isn't null or empty. |
|
| Method Summary | |
|---|---|
void |
addFurnitureLibrary(String name)
Throws an exception because applet user preferences can't manage additional furniture libraries. |
void |
addLanguageLibrary(String languageLibraryName)
Throws an exception because applet user preferences can't manage language libraries. |
void |
addTexturesLibrary(String name)
Throws an exception because applet user preferences can't manage additional textures libraries. |
boolean |
furnitureLibraryExists(String name)
Throws an exception because applet user preferences can't manage furniture libraries. |
boolean |
isActionTipIgnored(String actionKey)
Returns whether an action tip should be ignored or not. |
boolean |
languageLibraryExists(String languageLibraryName)
Throws an exception because applet user preferences can't manage additional language libraries. |
void |
resetIgnoredActionTips()
Resets the display flag of action tips. |
void |
setActionTipIgnored(String actionKey)
Sets which action tip should be ignored. |
boolean |
texturesLibraryExists(String name)
Throws an exception because applet user preferences can't manage textures libraries. |
void |
write()
Writes user preferences. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AppletUserPreferences(URL[] pluginFurnitureCatalogURLs,
URL[] pluginTexturesCatalogURLs)
public AppletUserPreferences(URL[] pluginFurnitureCatalogURLs,
URL[] pluginTexturesCatalogURLs,
URL writePreferencesURL,
URL readPreferencesURL)
readPreferencesURL,
if URL isn't null or empty.
Preferences modifications will be notified to writePreferencesURL with
an XML content describing preferences in a parameter named preferences,
if URL isn't null or empty.
The DTD of XML content is specified at
http://java.sun.com/dtd/properties.dtd.
Preferences written with this class don't include imported furniture and textures.
public AppletUserPreferences(URL[] pluginFurnitureCatalogURLs,
URL[] pluginTexturesCatalogURLs,
URL writePreferencesURL,
URL readPreferencesURL,
String userLanguage)
readPreferencesURL,
if URL isn't null or empty.
Preferences modifications will be notified to writePreferencesURL with
an XML content describing preferences in a parameter named preferences,
if URL isn't null or empty.
The DTD of XML content is specified at
http://java.sun.com/dtd/properties.dtd.
Preferences written with this class don't include imported furniture and textures.
public AppletUserPreferences(URL[] pluginFurnitureCatalogURLs,
URL furnitureResourcesUrlBase,
URL[] pluginTexturesCatalogURLs,
URL texturesResourcesUrlBase,
URL writePreferencesURL,
URL readPreferencesURL,
String userLanguage)
readPreferencesURL,
if URL isn't null or empty.
Preferences modifications will be notified to writePreferencesURL with
an XML content describing preferences in a parameter named preferences,
if URL isn't null or empty.
The DTD of XML content is specified at
http://java.sun.com/dtd/properties.dtd.
Preferences written with this class don't include imported furniture and textures.
| Method Detail |
|---|
public void write()
throws RecorderException
writePreferencesURL
given at the creation a XML content describing preferences in a parameter named preferences.
write in class UserPreferencesRecorderException - if user preferences couldn'y be saved.public void setActionTipIgnored(String actionKey)
setActionTipIgnored in class UserPreferencespublic boolean isActionTipIgnored(String actionKey)
isActionTipIgnored in class UserPreferencespublic void resetIgnoredActionTips()
resetIgnoredActionTips in class UserPreferences
public void addLanguageLibrary(String languageLibraryName)
throws RecorderException
addLanguageLibrary in class UserPreferenceslanguageLibraryName - the name of the resource in which the library will be written.
RecorderException
public boolean languageLibraryExists(String languageLibraryName)
throws RecorderException
languageLibraryExists in class UserPreferenceslanguageLibraryName - the name of the resource to check
RecorderException
public boolean furnitureLibraryExists(String name)
throws RecorderException
furnitureLibraryExists in class UserPreferencesname - the name of the resource to check
RecorderException
public void addFurnitureLibrary(String name)
throws RecorderException
addFurnitureLibrary in class UserPreferencesname - the name of the resource in which the library will be written.
RecorderException
public boolean texturesLibraryExists(String name)
throws RecorderException
texturesLibraryExists in class UserPreferencesname - the name of the resource to check
RecorderException
public void addTexturesLibrary(String name)
throws RecorderException
addTexturesLibrary in class UserPreferencesname - the name of the resource in which the library will be written.
RecorderException
|
Sweet Home 3D 2.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
![]() |
© Copyrights 2006-2010 eTeks - All rights reserved
Distributed under GNU General Public License |