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(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(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, getDepthInPlan, getDescription, getDropOnTopElevation, getElevation, getFurnitureComparator, getGroundElevation, getHeight, getHeightInPlan, getIcon, getInformation, getLevel, getModel, getModelMaterials, getModelRotation, getModelSize, getName, getNameAngle, getNameStyle, getNameXOffset, getNameYOffset, getPitch, getPlanIcon, getPoints, getPrice, getPriceValueAddedTaxIncluded, getRoll, getShininess, getStaircaseCutOutShape, getTexture, getValueAddedTax, getValueAddedTaxPercentage, getWidth, getWidthInPlan, getX, getY, intersectsRectangle, isAtLevel, isBackFaceShown, isBottomLeftPointAt, isBottomRightPointAt, isDeformable, isDoorOrWindow, isHorizontallyRotatable, isHorizontallyRotated, isModelCenteredAtOrigin, isModelMirrored, isMovable, isNameCenterPointAt, isNameVisible, isParallelToWall, isPointAt, isResizable, isTexturable, isTopLeftPointAt, isTopRightPointAt, isVisible, isWidthDepthDeformable, move, scale, setAngle, setColor, setDepth, setDepthInPlan, setDescription, setElevation, setHeight, setHeightInPlan, setLevel, setModelCenteredAtOrigin, setModelMaterials, setModelMirrored, setModelSize, setMovable, setName, setNameAngle, setNameStyle, setNameVisible, setNameXOffset, setNameYOffset, setPitch, setPrice, setRoll, setShininess, setTexture, setVisible, setWidth, setWidthInPlan, setX, setYgetProperty, getPropertyNames, setPropertyequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColor, getCreator, getCurrency, getDepth, getDescription, getDropOnTopElevation, getElevation, getHeight, getIcon, getInformation, getModel, getModelRotation, getModelSize, getName, getPlanIcon, getPrice, getStaircaseCutOutShape, getValueAddedTaxPercentage, getWidth, isBackFaceShown, isDeformable, isDoorOrWindow, isHorizontallyRotatable, isMovable, isResizable, isTexturable, isWidthDepthDeformablepublic HomeLight(Light light)
light - the light from which data are copiedpublic void addPropertyChangeListener(PropertyChangeListener listener)
listener in parameter to this piece.addPropertyChangeListener in class HomePieceOfFurniturepublic void removePropertyChangeListener(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-2017 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License