|
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.FurnitureCategory
public class FurnitureCategory
Category of furniture.
| Constructor Summary | |
|---|---|
FurnitureCategory(String name)
Create a category. |
|
| Method Summary | |
|---|---|
int |
compareTo(FurnitureCategory 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. |
List<CatalogPieceOfFurniture> |
getFurniture()
Returns the furniture list of this category sorted by name. |
int |
getFurnitureCount()
Returns the count of furniture in this category. |
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(String name)
name - the name of the category.| Method Detail |
|---|
public String getName()
public List<CatalogPieceOfFurniture> getFurniture()
public int getFurnitureCount()
public CatalogPieceOfFurniture getPieceOfFurniture(int index)
index.
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic int compareTo(FurnitureCategory category)
compareTo in interface Comparable<FurnitureCategory>
|
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 |