public class AppletUserPreferences extends UserPreferences
UserPreferences.PropertyFURNITURE_LIBRARY_TYPE, LANGUAGE_LIBRARY_TYPE, TEXTURES_LIBRARY_TYPE| Constructor and Description |
|---|
AppletUserPreferences(java.net.URL[] pluginFurnitureCatalogURLs,
java.net.URL[] pluginTexturesCatalogURLs)
Creates default user preferences read from resource files and catalogs urls given in parameter.
|
AppletUserPreferences(java.net.URL[] pluginFurnitureCatalogURLs,
java.net.URL[] pluginTexturesCatalogURLs,
java.net.URL writePreferencesURL,
java.net.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(java.net.URL[] pluginFurnitureCatalogURLs,
java.net.URL[] pluginTexturesCatalogURLs,
java.net.URL writePreferencesURL,
java.net.URL readPreferencesURL,
java.lang.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(java.net.URL[] pluginFurnitureCatalogURLs,
java.net.URL furnitureResourcesUrlBase,
java.net.URL[] pluginTexturesCatalogURLs,
java.net.URL texturesResourcesUrlBase,
java.net.URL writePreferencesURL,
java.net.URL readPreferencesURL,
java.util.concurrent.Executor updater,
java.lang.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(java.net.URL[] pluginFurnitureCatalogURLs,
java.net.URL furnitureResourcesUrlBase,
java.net.URL[] pluginTexturesCatalogURLs,
java.net.URL texturesResourcesUrlBase,
java.net.URL writePreferencesURL,
java.net.URL readPreferencesURL,
java.lang.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. |
| Modifier and Type | Method and Description |
|---|---|
void |
addFurnitureLibrary(java.lang.String location)
Throws an exception because applet user preferences can't manage additional furniture libraries.
|
void |
addLanguageLibrary(java.lang.String location)
Throws an exception because applet user preferences can't manage language libraries.
|
void |
addTexturesLibrary(java.lang.String location)
Throws an exception because applet user preferences can't manage additional textures libraries.
|
boolean |
furnitureLibraryExists(java.lang.String location)
Returns
true if the furniture library at the given location exists. |
java.util.List<Library> |
getLibraries()
Throws an exception because applet user preferences don't manage additional libraries.
|
boolean |
isActionTipIgnored(java.lang.String actionKey)
Returns whether an action tip should be ignored or not.
|
boolean |
languageLibraryExists(java.lang.String location)
Throws an exception because applet user preferences can't manage additional language libraries.
|
void |
resetIgnoredActionTips()
Resets the display flag of action tips.
|
void |
setActionTipIgnored(java.lang.String actionKey)
Sets which action tip should be ignored.
|
boolean |
texturesLibraryExists(java.lang.String location)
Returns
true if the textures library at the given location exists. |
void |
write()
Writes user preferences.
|
addAutoCompletionString, addPropertyChangeListener, addPropertyChangeListener, getAutoCompletedProperties, getAutoCompletionStrings, getAutoSaveDelayForRecovery, getCurrency, getDefaultFontName, getDefaultSupportedLanguages, getDefaultTextStyle, getDefaultValueAddedTaxPercentage, getFurnitureCatalog, getFurnitureModelIconSize, getHomeExamples, getLanguage, getLengthUnit, getLocalizedString, getLocalizedString, getLocalizedStringKeys, getNewFloorThickness, getNewRoomFloorColor, getNewWallBaseboardHeight, getNewWallBaseboardThickness, getNewWallHeight, getNewWallPattern, getNewWallThickness, getPatternsCatalog, getPhotoRenderer, getRecentColors, getRecentHomes, getRecentHomesMaxCount, getRecentTextures, getResourceClassLoaders, getStoredCamerasMaxCount, getSupportedLanguages, getTexturesCatalog, getUpdatesMinimumDate, getWallPattern, isAerialViewCenteredOnSelectionEnabled, isCheckUpdatesEnabled, isDrawingModeEnabled, isEditingIn3DViewEnabled, isFurnitureCatalogViewedInTree, isFurnitureViewedFromTop, isGridVisible, isLanguageEditable, isMagnetismEnabled, isNavigationPanelVisible, isObserverCameraSelectedAtChange, isRoomFloorColoredOrTextured, isRulersVisible, isValueAddedTaxEnabled, removePropertyChangeListener, removePropertyChangeListener, setAerialViewCenteredOnSelectionEnabled, setAutoCompletionStrings, setAutoSaveDelayForRecovery, setCheckUpdatesEnabled, setCurrency, setDefaultFontName, setDefaultValueAddedTaxPercentage, setEditingIn3DViewEnabled, setFloorColoredOrTextured, setFurnitureCatalog, setFurnitureCatalogViewedInTree, setFurnitureModelIconSize, setFurnitureViewedFromTop, setGridVisible, setHomeExamples, setLanguage, setMagnetismEnabled, setNavigationPanelVisible, setNewFloorThickness, setNewRoomFloorColor, setNewWallBaseboardHeight, setNewWallBaseboardThickness, setNewWallHeight, setNewWallPattern, setNewWallThickness, setObserverCameraSelectedAtChange, setPatternsCatalog, setPhotoRenderer, setRecentColors, setRecentHomes, setRecentTextures, setRulersVisible, setSupportedLanguages, setTexturesCatalog, setUnit, setUpdatesMinimumDate, setValueAddedTaxEnabled, setWallPatternpublic AppletUserPreferences(java.net.URL[] pluginFurnitureCatalogURLs,
java.net.URL[] pluginTexturesCatalogURLs)
public AppletUserPreferences(java.net.URL[] pluginFurnitureCatalogURLs,
java.net.URL[] pluginTexturesCatalogURLs,
java.net.URL writePreferencesURL,
java.net.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(java.net.URL[] pluginFurnitureCatalogURLs,
java.net.URL[] pluginTexturesCatalogURLs,
java.net.URL writePreferencesURL,
java.net.URL readPreferencesURL,
java.lang.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(java.net.URL[] pluginFurnitureCatalogURLs,
java.net.URL furnitureResourcesUrlBase,
java.net.URL[] pluginTexturesCatalogURLs,
java.net.URL texturesResourcesUrlBase,
java.net.URL writePreferencesURL,
java.net.URL readPreferencesURL,
java.lang.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(java.net.URL[] pluginFurnitureCatalogURLs,
java.net.URL furnitureResourcesUrlBase,
java.net.URL[] pluginTexturesCatalogURLs,
java.net.URL texturesResourcesUrlBase,
java.net.URL writePreferencesURL,
java.net.URL readPreferencesURL,
java.util.concurrent.Executor updater,
java.lang.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 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(java.lang.String actionKey)
setActionTipIgnored in class UserPreferencespublic boolean isActionTipIgnored(java.lang.String actionKey)
isActionTipIgnored in class UserPreferencespublic void resetIgnoredActionTips()
resetIgnoredActionTips in class UserPreferencespublic void addLanguageLibrary(java.lang.String location)
throws RecorderException
addLanguageLibrary in class UserPreferenceslocation - the location where the library can be found.RecorderExceptionpublic boolean languageLibraryExists(java.lang.String location)
throws RecorderException
languageLibraryExists in class UserPreferenceslocation - the name of the resource to checkRecorderExceptionpublic boolean furnitureLibraryExists(java.lang.String location)
throws RecorderException
true if the furniture library at the given location exists.furnitureLibraryExists in class UserPreferenceslocation - the name of the resource to checkRecorderExceptionpublic void addFurnitureLibrary(java.lang.String location)
throws RecorderException
addFurnitureLibrary in class UserPreferenceslocation - the location where the library can be found.RecorderExceptionpublic boolean texturesLibraryExists(java.lang.String location)
throws RecorderException
true if the textures library at the given location exists.texturesLibraryExists in class UserPreferenceslocation - the name of the resource to checkRecorderExceptionpublic void addTexturesLibrary(java.lang.String location)
throws RecorderException
addTexturesLibrary in class UserPreferenceslocation - the location where the library can be found.RecorderExceptionpublic java.util.List<Library> getLibraries()
getLibraries in class UserPreferences

© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License