|
Sweet Home 3D 4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eteks.sweethome3d.model.TexturesCategory
public class TexturesCategory
Category of textures.
Constructor Summary | |
---|---|
TexturesCategory(String name)
Create a category. |
Method Summary | |
---|---|
int |
compareTo(TexturesCategory category)
Compares the names of this category and the one in parameter. |
boolean |
equals(Object obj)
Returns true if this category and the one in parameter have the same name. |
int |
getIndexOfTexture(CatalogTexture texture)
Returns the index of the given texture . |
String |
getName()
Returns the name of this category. |
CatalogTexture |
getTexture(int index)
Returns the texture at a given index . |
List<CatalogTexture> |
getTextures()
Returns the textures list of this category sorted by name. |
int |
getTexturesCount()
Returns the count of textures in this category. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TexturesCategory(String name)
name
- the name of the category.Method Detail |
---|
public String getName()
public List<CatalogTexture> getTextures()
public int getTexturesCount()
public CatalogTexture getTexture(int index)
index
.
public int getIndexOfTexture(CatalogTexture texture)
texture
.
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(TexturesCategory category)
compareTo
in interface Comparable<TexturesCategory>
|
Sweet Home 3D 4.1 | |||||||||
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 |