|
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.CatalogPieceOfFurniture
com.eteks.sweethome3d.model.CatalogDoorOrWindow
public class CatalogDoorOrWindow
A door or a window of the catalog.
| Constructor Summary | |
|---|---|
CatalogDoorOrWindow(String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
Integer color,
float[][] modelRotation,
boolean backFaceShown,
float iconYaw,
boolean proportional)
Creates a modifiable catalog door or window with all its values. |
|
CatalogDoorOrWindow(String id,
String name,
String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
String creator,
boolean resizable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog. |
|
CatalogDoorOrWindow(String id,
String name,
String description,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
String creator,
boolean resizable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog. |
|
| Method Summary | |
|---|---|
Sash[] |
getSashes()
Returns a copy of the sashes attached to this door or window. |
float |
getWallDistance()
Returns the default distance that should lie at the back side of this door or window. |
float |
getWallThickness()
Returns the default thickness of the wall in which this door or window should be placed. |
boolean |
isDoorOrWindow()
Returns always true. |
| Methods inherited from class com.eteks.sweethome3d.model.CatalogPieceOfFurniture |
|---|
compareTo, equals, getCategory, getColor, getCreator, getDepth, getDescription, getElevation, getHeight, getIcon, getIconYaw, getId, getModel, getModelRotation, getName, getPlanIcon, getPrice, getValueAddedTaxPercentage, getWidth, hashCode, isBackFaceShown, isModifiable, isMovable, isProportional, isResizable |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.eteks.sweethome3d.model.PieceOfFurniture |
|---|
getColor, getDepth, getDescription, getElevation, getHeight, getIcon, getModel, getModelRotation, getName, getPlanIcon, getPrice, getValueAddedTaxPercentage, getWidth, isBackFaceShown, isMovable, isResizable |
| Constructor Detail |
|---|
public CatalogDoorOrWindow(String id,
String name,
String description,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
String creator,
boolean resizable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
id - the id of the new door or window, or nullname - the name of the new door or windowdescription - the description of the new door or windowicon - content of the icon of the new door or windowmodel - content of the 3D model of the new door or windowwidth - the width in centimeters of the new door or windowdepth - the depth in centimeters of the new door or windowheight - the height in centimeters of the new door or windowelevation - the elevation in centimeters of the new door or windowmovable - if true, the new door or window is movablewallThickness - a value in percentage of the depth of the new door or windowwallDistance - a distance in percentage of the depth of the new door or windowsashes - the sashes attached to the new door or windowmodelRotation - the rotation 3 by 3 matrix applied to the door or window modelcreator - the creator of the modelresizable - if true, the size of the new door or window may be editedprice - the price of the new door or window, or nullvalueAddedTaxPercentage - the Value Added Tax percentage applied to the
price of the new door or window or null
public CatalogDoorOrWindow(String id,
String name,
String description,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
String creator,
boolean resizable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage)
id - the id of the new door or window, or nullname - the name of the new door or windowdescription - the description of the new door or windowicon - content of the icon of the new door or windowplanIcon - content of the icon of the new piece displayed in planmodel - content of the 3D model of the new door or windowwidth - the width in centimeters of the new door or windowdepth - the depth in centimeters of the new door or windowheight - the height in centimeters of the new door or windowelevation - the elevation in centimeters of the new door or windowmovable - if true, the new door or window is movablewallThickness - a value in percentage of the depth of the new door or windowwallDistance - a distance in percentage of the depth of the new door or windowsashes - the sashes attached to the new door or windowmodelRotation - the rotation 3 by 3 matrix applied to the door or window modelcreator - the creator of the modelresizable - if true, the size of the new door or window may be editedprice - the price of the new door or window, or nullvalueAddedTaxPercentage - the Value Added Tax percentage applied to the
price of the new door or window or null
public CatalogDoorOrWindow(String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
Integer color,
float[][] modelRotation,
boolean backFaceShown,
float iconYaw,
boolean proportional)
name - the name of the new door or windowicon - content of the icon of the new door or windowmodel - content of the 3D model of the new door or windowwidth - the width in centimeters of the new door or windowdepth - the depth in centimeters of the new door or windowheight - the height in centimeters of the new door or windowelevation - the elevation in centimeters of the new door or windowmovable - if true, the new door or window is movablewallThickness - a value in percentage of the depth of the new door or windowwallDistance - a distance in percentage of the depth of the new door or windowsashes - the sashes attached to the new door or windowcolor - the color of the door or window as RGB code or null
if door or window color is unchangedmodelRotation - the rotation 3 by 3 matrix applied to the door or window modelbackFaceShown - true if back face should be showniconYaw - the yaw angle used to create the door or window iconproportional - if true, size proportions will be kept| Method Detail |
|---|
public float getWallThickness()
getWallThickness in interface DoorOrWindowpublic float getWallDistance()
getWallDistance in interface DoorOrWindowpublic Sash[] getSashes()
getSashes in interface DoorOrWindowpublic boolean isDoorOrWindow()
true.
isDoorOrWindow in interface PieceOfFurnitureisDoorOrWindow in class CatalogPieceOfFurniture
|
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 |