|
Sweet Home 3D 4.0 | |||||||||
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.io.DefaultUserPreferences
public class DefaultUserPreferences
Default user preferences.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.eteks.sweethome3d.model.UserPreferences |
---|
UserPreferences.Property |
Field Summary |
---|
Fields inherited from class com.eteks.sweethome3d.model.UserPreferences |
---|
FURNITURE_LIBRARY_TYPE, LANGUAGE_LIBRARY_TYPE, TEXTURES_LIBRARY_TYPE |
Constructor Summary | |
---|---|
DefaultUserPreferences()
Creates default user preferences read from resource files in the default language. |
Method Summary | |
---|---|
void |
addFurnitureLibrary(String name)
Throws an exception because default user preferences can't manage additional furniture libraries. |
void |
addLanguageLibrary(String name)
Throws an exception because default user preferences can't manage additional language libraries. |
void |
addTexturesLibrary(String name)
Throws an exception because default user preferences can't manage additional textures libraries. |
boolean |
furnitureLibraryExists(String name)
Throws an exception because default user preferences can't manage additional furniture libraries. |
List<Library> |
getLibraries()
Throws an exception because default user preferences don't support libraries. |
boolean |
languageLibraryExists(String name)
Throws an exception because default user preferences can't manage language libraries. |
boolean |
texturesLibraryExists(String name)
Throws an exception because default user preferences can't manage textures libraries. |
void |
write()
Throws an exception because default user preferences can't be written with this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultUserPreferences()
Method Detail |
---|
public void write() throws RecorderException
write
in class UserPreferences
RecorderException
- if user preferences couldn'y be saved.public boolean languageLibraryExists(String name) throws RecorderException
languageLibraryExists
in class UserPreferences
name
- the name of the resource to check
RecorderException
public void addLanguageLibrary(String name) throws RecorderException
addLanguageLibrary
in class UserPreferences
name
- the location where the library can be found.
RecorderException
public boolean furnitureLibraryExists(String name) throws RecorderException
furnitureLibraryExists
in class UserPreferences
name
- the name of the resource to check
RecorderException
public void addFurnitureLibrary(String name) throws RecorderException
addFurnitureLibrary
in class UserPreferences
name
- the location where the library can be found.
RecorderException
public boolean texturesLibraryExists(String name) throws RecorderException
texturesLibraryExists
in class UserPreferences
name
- the name of the resource to check
RecorderException
public void addTexturesLibrary(String name) throws RecorderException
addTexturesLibrary
in class UserPreferences
name
- the location where the library can be found.
RecorderException
public List<Library> getLibraries()
getLibraries
in class UserPreferences
|
Sweet Home 3D 4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License |