public class CatalogDoorOrWindow extends CatalogPieceOfFurniture implements DoorOrWindow
Constructor and Description |
---|
CatalogDoorOrWindow(java.lang.String name,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
java.lang.Integer color,
float[][] modelRotation,
boolean backFaceShown,
float iconYaw,
boolean proportional)
Creates a modifiable catalog door or window with all its values.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.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,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.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,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.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,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
Content icon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.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,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
CatalogDoorOrWindow(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String information,
java.lang.String[] tags,
java.lang.Long creationDate,
java.lang.Float grade,
Content icon,
Content planIcon,
Content model,
float width,
float depth,
float height,
float elevation,
boolean movable,
java.lang.String cutOutShape,
float wallThickness,
float wallDistance,
Sash[] sashes,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage,
java.lang.String currency)
Creates an unmodifiable catalog door or window of the default catalog.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCutOutShape()
Returns the shape used to cut out walls that intersect this new door or window.
|
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 . |
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, matchesFilter
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getColor, getCreator, getCurrency, getDepth, getDescription, getElevation, getHeight, getIcon, getInformation, getModel, getModelRotation, getName, getPlanIcon, getPrice, getStaircaseCutOutShape, getValueAddedTaxPercentage, getWidth, isBackFaceShown, isDeformable, isMovable, isResizable, isTexturable
public CatalogDoorOrWindow(java.lang.String id, java.lang.String name, java.lang.String description, Content icon, Content model, float width, float depth, float height, float elevation, boolean movable, float wallThickness, float wallDistance, Sash[] sashes, float[][] modelRotation, java.lang.String creator, boolean resizable, java.math.BigDecimal price, java.math.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(java.lang.String id, java.lang.String name, java.lang.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, java.lang.String creator, boolean resizable, java.math.BigDecimal price, java.math.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(java.lang.String id, java.lang.String name, java.lang.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, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.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(java.lang.String id, java.lang.String name, java.lang.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, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.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(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.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, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.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(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String information, java.lang.String[] tags, java.lang.Long creationDate, java.lang.Float grade, Content icon, Content planIcon, Content model, float width, float depth, float height, float elevation, boolean movable, java.lang.String cutOutShape, float wallThickness, float wallDistance, Sash[] sashes, float[][] modelRotation, java.lang.String creator, boolean resizable, boolean deformable, boolean texturable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage, java.lang.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 movablecutOutShape
- the shape used to cut out walls that intersect the new door or windowwallThickness
- 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(java.lang.String name, Content icon, Content model, float width, float depth, float height, float elevation, boolean movable, float wallThickness, float wallDistance, Sash[] sashes, java.lang.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 keptpublic float getWallThickness()
getWallThickness
in interface DoorOrWindow
public float getWallDistance()
getWallDistance
in interface DoorOrWindow
public Sash[] getSashes()
getSashes
in interface DoorOrWindow
public java.lang.String getCutOutShape()
getCutOutShape
in interface DoorOrWindow
null
or a shape defined with the syntax of the d attribute of a
SVG path element
that fits in a square spreading from (0, 0) to (1, 1) which will be
scaled afterwards to the real size of this door or window.public boolean isDoorOrWindow()
true
.isDoorOrWindow
in interface PieceOfFurniture
isDoorOrWindow
in class CatalogPieceOfFurniture
© Copyrights 2006-2014 eTeks - All rights reserved
Distributed under GNU General Public License