|
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.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 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,
boolean deformable,
boolean texturable,
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 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,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage,
String currency)
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. |
|
CatalogDoorOrWindow(String id,
String name,
String description,
String information,
String[] tags,
Long creationDate,
Float grade,
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,
boolean deformable,
boolean texturable,
BigDecimal price,
BigDecimal valueAddedTaxPercentage,
String currency)
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, getCreationDate, getCreator, getCurrency, getDepth, getDescription, getElevation, getGrade, getHeight, getIcon, getIconYaw, getId, getInformation, getModel, getModelRotation, getName, getPlanIcon, getPrice, getStaircaseCutOutShape, getTags, getValueAddedTaxPercentage, getWidth, hashCode, isBackFaceShown, isDeformable, isModifiable, isMovable, isProportional, isResizable, isTexturable |
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, getCurrency, getDepth, getDescription, getElevation, getHeight, getIcon, getModel, getModelRotation, getName, getPlanIcon, getPrice, getStaircaseCutOutShape, getValueAddedTaxPercentage, getWidth, isBackFaceShown, isDeformable, isMovable, isResizable, isTexturable |
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 null
name
- 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 null
valueAddedTaxPercentage
- 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 null
name
- 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 null
valueAddedTaxPercentage
- 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, boolean deformable, boolean texturable, BigDecimal price, BigDecimal valueAddedTaxPercentage)
id
- the id of the new door or window, or null
name
- 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 editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new door or window, or null
valueAddedTaxPercentage
- 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, boolean deformable, boolean texturable, BigDecimal price, BigDecimal valueAddedTaxPercentage, String currency)
id
- the id of the new door or window, or null
name
- 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 editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
currency
- the price currency, noted with ISO 4217 code, or null
public CatalogDoorOrWindow(String id, String name, String description, String information, String[] tags, Long creationDate, Float grade, 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, boolean deformable, boolean texturable, BigDecimal price, BigDecimal valueAddedTaxPercentage, String currency)
id
- the id of the new door or window, or null
name
- the name of the new door or windowdescription
- the description of the new door or windowinformation
- additional information associated to the new door or windowtags
- tags associated to the new door or windowcreationDate
- creation date of the new door or window in milliseconds since the epochgrade
- grade of the new door or window or null
icon
- 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 editeddeformable
- if true
, the width, depth and height of the new piece may
change independently from each othertexturable
- if false
this piece should always keep the same color or texture.price
- the price of the new door or window, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new door or window or null
currency
- the price currency, noted with ISO 4217 code, 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 keptMethod Detail |
---|
public float getWallThickness()
getWallThickness
in interface DoorOrWindow
public float getWallDistance()
getWallDistance
in interface DoorOrWindow
public Sash[] getSashes()
getSashes
in interface DoorOrWindow
public boolean isDoorOrWindow()
true
.
isDoorOrWindow
in interface PieceOfFurniture
isDoorOrWindow
in class CatalogPieceOfFurniture
|
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 |