public class CatalogLight extends CatalogPieceOfFurniture implements Light
Constructor and Description |
---|
CatalogLight(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,
LightSource[] lightSources,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(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,
LightSource[] lightSources,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
boolean deformable,
boolean texturable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(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,
LightSource[] lightSources,
java.lang.String staircaseCutOutShape,
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 light of the default catalog.
|
CatalogLight(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,
LightSource[] lightSources,
float[][] modelRotation,
java.lang.String creator,
boolean resizable,
java.math.BigDecimal price,
java.math.BigDecimal valueAddedTaxPercentage)
Creates an unmodifiable catalog light of the default catalog.
|
CatalogLight(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,
LightSource[] lightSources,
java.lang.String staircaseCutOutShape,
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 light of the default catalog.
|
Modifier and Type | Method and Description |
---|---|
LightSource[] |
getLightSources()
Returns the sources managed by this light.
|
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, isDoorOrWindow, 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, isDoorOrWindow, isMovable, isResizable, isTexturable
public CatalogLight(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, LightSource[] lightSources, float[][] modelRotation, java.lang.String creator, boolean resizable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage)
id
- the id of the new light, or null
name
- the name of the new lightdescription
- the description of the new lighticon
- content of the icon of the new lightmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightmodelRotation
- the rotation 3 by 3 matrix applied to the light modelcreator
- the creator of the modelresizable
- if true
, the size of the new light may be editedprice
- the price of the new light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
public CatalogLight(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, LightSource[] lightSources, float[][] modelRotation, java.lang.String creator, boolean resizable, java.math.BigDecimal price, java.math.BigDecimal valueAddedTaxPercentage)
id
- the id of the new light, or null
name
- the name of the new lightdescription
- the description of the new lighticon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightmodelRotation
- the rotation 3 by 3 matrix applied to the light modelcreator
- the creator of the modelresizable
- if true
, the size of the new light may be editedprice
- the price of the new light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
public CatalogLight(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, LightSource[] lightSources, 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 light, or null
name
- the name of the new lightdescription
- the description of the new lighticon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightmodelRotation
- the rotation 3 by 3 matrix applied to the light modelcreator
- the creator of the modelresizable
- if true
, the size of the new light 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 light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
public CatalogLight(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, LightSource[] lightSources, java.lang.String staircaseCutOutShape, 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 light, or null
name
- the name of the new lightdescription
- the description of the new lighticon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightstaircaseCutOutShape
- the shape used to cut out upper levels when they intersect
with the piece like a staircasemodelRotation
- the rotation 3 by 3 matrix applied to the light modelcreator
- the creator of the modelresizable
- if true
, the size of the new light 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 light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
currency
- the price currency, noted with ISO 4217 code, or null
public CatalogLight(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, LightSource[] lightSources, java.lang.String staircaseCutOutShape, 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 light, or null
name
- the name of the new lightdescription
- the description of the new lightinformation
- additional information associated to the new lighttags
- tags associated to the new lightcreationDate
- creation date of the new light in milliseconds since the epochgrade
- grade of the new light or null
icon
- content of the icon of the new lightplanIcon
- content of the icon of the new piece displayed in planmodel
- content of the 3D model of the new lightwidth
- the width in centimeters of the new lightdepth
- the depth in centimeters of the new lightheight
- the height in centimeters of the new lightelevation
- the elevation in centimeters of the new lightmovable
- if true
, the new light is movablelightSources
- the light sources of the new lightstaircaseCutOutShape
- the shape used to cut out upper levels when they intersect
with the piece like a staircasemodelRotation
- the rotation 3 by 3 matrix applied to the light modelcreator
- the creator of the modelresizable
- if true
, the size of the new light 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 light, or null
valueAddedTaxPercentage
- the Value Added Tax percentage applied to the
price of the new light or null
currency
- the price currency, noted with ISO 4217 code, or null
public LightSource[] getLightSources()
getLightSources
in interface Light
© Copyrights 2006-2014 eTeks - All rights reserved
Distributed under GNU General Public License