|
Sweet Home 3D 3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eteks.sweethome3d.model.FurnitureCategory
public class FurnitureCategory
Category of furniture.
Constructor Summary | |
---|---|
FurnitureCategory(java.lang.String name)
Create a category. |
Method Summary | |
---|---|
int |
compareTo(FurnitureCategory category)
Compares the names of this category and the one in parameter. |
boolean |
equals(java.lang.Object obj)
Returns true if this category and the one in parameter have the same name. |
java.util.List<CatalogPieceOfFurniture> |
getFurniture()
Returns the furniture list of this category sorted by name. |
int |
getFurnitureCount()
Returns the count of furniture in this category. |
java.lang.String |
getName()
Returns the name of this category. |
CatalogPieceOfFurniture |
getPieceOfFurniture(int index)
Returns the piece of furniture at a given index . |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FurnitureCategory(java.lang.String name)
name
- the name of the category.Method Detail |
---|
public java.lang.String getName()
public java.util.List<CatalogPieceOfFurniture> getFurniture()
public int getFurnitureCount()
public CatalogPieceOfFurniture getPieceOfFurniture(int index)
index
.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(FurnitureCategory category)
compareTo
in interface java.lang.Comparable<FurnitureCategory>
|
Sweet Home 3D 3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License |