|
Sweet Home 3D 2.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PieceOfFurniture
A piece of furniture.
| Method Summary | |
|---|---|
Integer |
getColor()
Returns the color of this piece of furniture. |
float |
getDepth()
Returns the depth of this piece of furniture. |
String |
getDescription()
Returns the description of this piece of furniture. |
float |
getElevation()
Returns the elevation of this piece of furniture. |
float |
getHeight()
Returns the height of this piece of furniture. |
Content |
getIcon()
Returns the icon of this piece of furniture. |
Content |
getModel()
Returns the 3D model of this piece of furniture. |
float[][] |
getModelRotation()
Returns the rotation 3 by 3 matrix of this piece of furniture that ensures its model is correctly oriented. |
String |
getName()
Returns the name of this piece of furniture. |
Content |
getPlanIcon()
Returns the icon of this piece of furniture displayed in plan or null. |
BigDecimal |
getPrice()
Returns the price of this piece of furniture or null. |
BigDecimal |
getValueAddedTaxPercentage()
Returns the Value Added Tax percentage applied to the price of this piece of furniture. |
float |
getWidth()
Returns the width of this piece of furniture. |
boolean |
isBackFaceShown()
Returns true if the back face of the piece of furniture
model should be displayed. |
boolean |
isDoorOrWindow()
Returns true if this piece of furniture is a door or a window. |
boolean |
isMovable()
Returns true if this piece of furniture is movable. |
boolean |
isResizable()
Returns true if this piece is resizable. |
| Method Detail |
|---|
String getName()
String getDescription()
float getDepth()
float getHeight()
float getWidth()
float getElevation()
boolean isMovable()
true if this piece of furniture is movable.
boolean isDoorOrWindow()
true if this piece of furniture is a door or a window.
As this method existed before DoorOrWindow interface,
you shouldn't rely on the value returned by this method to guess if a piece
is an instance of DoorOrWindow class.
Content getIcon()
Content getPlanIcon()
null.
Content getModel()
float[][] getModelRotation()
boolean isBackFaceShown()
true if the back face of the piece of furniture
model should be displayed.
Integer getColor()
boolean isResizable()
true if this piece is resizable.
BigDecimal getPrice()
null.
BigDecimal getValueAddedTaxPercentage()
|
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 |