|
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.TexturesCatalog
public abstract class TexturesCatalog
Textures catalog.
| Constructor Summary | |
|---|---|
TexturesCatalog()
|
|
| Method Summary | |
|---|---|
void |
add(TexturesCategory category,
CatalogTexture texture)
Adds texture of a given category to this catalog. |
void |
addTexturesListener(CollectionListener<CatalogTexture> listener)
Adds the texture listener in parameter to this catalog. |
void |
delete(CatalogTexture texture)
Deletes the texture from this catalog. |
List<TexturesCategory> |
getCategories()
Returns the categories list sorted by name. |
int |
getCategoriesCount()
Returns the count of categories in this catalog. |
TexturesCategory |
getCategory(int index)
Returns the category at a given index. |
void |
removeTexturesListener(CollectionListener<CatalogTexture> listener)
Removes the texture listener in parameter from this catalog. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TexturesCatalog()
| Method Detail |
|---|
public List<TexturesCategory> getCategories()
public int getCategoriesCount()
public TexturesCategory getCategory(int index)
index.
public void addTexturesListener(CollectionListener<CatalogTexture> listener)
listener in parameter to this catalog.
public void removeTexturesListener(CollectionListener<CatalogTexture> listener)
listener in parameter from this catalog.
public void add(TexturesCategory category,
CatalogTexture texture)
texture of a given category to this catalog.
Once the texture is added, texture listeners added to this catalog will receive a
collectionChanged notification.
category - the category of the texture.texture - a texture.public void delete(CatalogTexture texture)
texture from this catalog.
If then texture category is empty, it will be removed from the categories of this catalog.
Once the texture is deleted, texture listeners added to this catalog will receive a
collectionChanged notification.
texture - a texture.
|
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 |