public class HomeLight extends HomePieceOfFurniture implements Light
| Modifier and Type | Class and Description |
|---|---|
static class |
HomeLight.Property
The properties of a light that may change.
|
HomePieceOfFurniture.SortableProperty| Constructor and Description |
|---|
HomeLight(Light light)
Creates a home light from an existing one.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds the property change
listener in parameter to this piece. |
HomeLight |
clone()
Returns a clone of this light.
|
LightSource[] |
getLightSources()
Returns the sources managed by this light.
|
float |
getPower()
Returns the power of this light.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes the property change
listener in parameter from this piece. |
void |
setPower(float power)
Sets the power of this light.
|
containsPoint, getAngle, getCatalogId, getColor, getCreator, getCurrency, getDepth, getDescription, getElevation, getFurnitureComparator, getGroundElevation, getHeight, getIcon, getInformation, getLevel, getModel, getModelMaterials, getModelRotation, getName, getNameAngle, getNameStyle, getNameXOffset, getNameYOffset, getPlanIcon, getPoints, getPrice, getPriceValueAddedTaxIncluded, getShininess, getStaircaseCutOutShape, getTexture, getValueAddedTax, getValueAddedTaxPercentage, getWidth, getX, getY, intersectsRectangle, isAtLevel, isBackFaceShown, isBottomLeftPointAt, isBottomRightPointAt, isDeformable, isDoorOrWindow, isModelMirrored, isMovable, isNameCenterPointAt, isNameVisible, isPointAt, isResizable, isTexturable, isTopLeftPointAt, isTopRightPointAt, isVisible, move, setAngle, setColor, setDepth, setDescription, setElevation, setHeight, setLevel, setModelMaterials, setModelMirrored, setMovable, setName, setNameAngle, setNameStyle, setNameVisible, setNameXOffset, setNameYOffset, setPrice, setShininess, setTexture, setVisible, setWidth, setX, setYequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColor, getCreator, getCurrency, getDepth, getDescription, getElevation, getHeight, getIcon, getInformation, getModel, getModelRotation, getName, getPlanIcon, getPrice, getStaircaseCutOutShape, getValueAddedTaxPercentage, getWidth, isBackFaceShown, isDeformable, isDoorOrWindow, isMovable, isResizable, isTexturablepublic HomeLight(Light light)
light - the light from which data are copiedpublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener in parameter to this piece.addPropertyChangeListener in class HomePieceOfFurniturepublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener in parameter from this piece.removePropertyChangeListener in class HomePieceOfFurniturepublic LightSource[] getLightSources()
getLightSources in interface Lightpublic float getPower()
public void setPower(float power)
public HomeLight clone()
clone in interface Selectableclone in class HomePieceOfFurniture

? Copyrights 2006-2014 eTeks - All rights reserved
Distributed under GNU General Public License