Sweet Home 3D 3.4

com.eteks.sweethome3d.io
Class DefaultTexturesCatalog

java.lang.Object
  extended by com.eteks.sweethome3d.model.TexturesCatalog
      extended by com.eteks.sweethome3d.io.DefaultTexturesCatalog

public class DefaultTexturesCatalog
extends TexturesCatalog

Textures default catalog read from localized resources.

Author:
Emmanuel Puybaret

Nested Class Summary
static class DefaultTexturesCatalog.PropertyKey
          The keys of the properties values read in .properties files.
 
Constructor Summary
DefaultTexturesCatalog()
          Creates a default textures catalog read from resources.
DefaultTexturesCatalog(java.io.File texturesPluginFolder)
          Creates a default textures catalog read from resources and textures plugin folder if texturesPluginFolder isn't null.
DefaultTexturesCatalog(java.net.URL[] pluginTexturesCatalogUrls)
          Creates a default textures catalog read only from resources in the given URLs.
DefaultTexturesCatalog(java.net.URL[] pluginTexturesCatalogUrls, java.net.URL texturesResourcesUrlBase)
          Creates a default textures catalog read only from resources in the given URLs.
DefaultTexturesCatalog(UserPreferences preferences, java.io.File texturesPluginFolder)
          Creates a default textures catalog read from resources and textures plugin folder if texturesPluginFolder isn't null.
DefaultTexturesCatalog(UserPreferences preferences, java.io.File[] texturesPluginFolders)
          Creates a default textures catalog read from resources and textures plugin folders if texturesPluginFolders isn't null.
 
Method Summary
 
Methods inherited from class com.eteks.sweethome3d.model.TexturesCatalog
add, addTexturesListener, delete, getCategories, getCategoriesCount, getCategory, removeTexturesListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTexturesCatalog

public DefaultTexturesCatalog()
Creates a default textures catalog read from resources.


DefaultTexturesCatalog

public DefaultTexturesCatalog(java.io.File texturesPluginFolder)
Creates a default textures catalog read from resources and textures plugin folder if texturesPluginFolder isn't null.


DefaultTexturesCatalog

public DefaultTexturesCatalog(UserPreferences preferences,
                              java.io.File texturesPluginFolder)
Creates a default textures catalog read from resources and textures plugin folder if texturesPluginFolder isn't null.


DefaultTexturesCatalog

public DefaultTexturesCatalog(UserPreferences preferences,
                              java.io.File[] texturesPluginFolders)
Creates a default textures catalog read from resources and textures plugin folders if texturesPluginFolders isn't null.


DefaultTexturesCatalog

public DefaultTexturesCatalog(java.net.URL[] pluginTexturesCatalogUrls)
Creates a default textures catalog read only from resources in the given URLs.


DefaultTexturesCatalog

public DefaultTexturesCatalog(java.net.URL[] pluginTexturesCatalogUrls,
                              java.net.URL texturesResourcesUrlBase)
Creates a default textures catalog read only from resources in the given URLs. Texture image URLs will built from texturesResourcesUrlBase if it isn't null.


Sweet Home 3D 3.4

? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License