|
Sweet Home 3D 2.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eteks.sweethome3d.model.HomePieceOfFurniture
com.eteks.sweethome3d.model.HomeDoorOrWindow
public class HomeDoorOrWindow
A door or a window in home.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.eteks.sweethome3d.model.HomePieceOfFurniture |
|---|
HomePieceOfFurniture.Property, HomePieceOfFurniture.SortableProperty |
| Constructor Summary | |
|---|---|
HomeDoorOrWindow(DoorOrWindow doorOrWindow)
Creates a home door or window from an existing one. |
|
| Method Summary | |
|---|---|
HomeDoorOrWindow |
clone()
Returns a clone of this 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 |
isBoundToWall()
Returns true if the location and the size of this door or window
were bound to a wall, last time they were updated. |
boolean |
isDoorOrWindow()
Returns always true. |
void |
setAngle(float angle)
Sets the angle of this door or window and resets its boundToWall flag if the angle changed. |
void |
setBoundToWall(boolean boundToWall)
Sets whether the location and the size of this door or window were bound to a wall, last time they were updated. |
void |
setDepth(float depth)
Sets the depth of this door or window and resets its boundToWall flag if the depth changed. |
void |
setX(float x)
Sets the abscissa of this door or window and resets its boundToWall flag if the abscissa changed. |
void |
setY(float y)
Sets the ordinate of this door or window and resets its boundToWall flag if the ordinate changed. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.eteks.sweethome3d.model.PieceOfFurniture |
|---|
getColor, getDepth, getDescription, getElevation, getHeight, getIcon, getModel, getModelRotation, getName, getPlanIcon, getPrice, getValueAddedTaxPercentage, getWidth, isBackFaceShown, isMovable, isResizable |
| Constructor Detail |
|---|
public HomeDoorOrWindow(DoorOrWindow doorOrWindow)
doorOrWindow - the door or window from which data are copied| Method Detail |
|---|
public float getWallThickness()
getWallThickness in interface DoorOrWindowpublic float getWallDistance()
getWallDistance in interface DoorOrWindowpublic Sash[] getSashes()
getSashes in interface DoorOrWindowpublic boolean isBoundToWall()
true if the location and the size of this door or window
were bound to a wall, last time they were updated.
public void setBoundToWall(boolean boundToWall)
public void setX(float x)
boundToWall flag if the abscissa changed.
setX in class HomePieceOfFurniturepublic void setY(float y)
boundToWall flag if the ordinate changed.
setY in class HomePieceOfFurniturepublic void setAngle(float angle)
boundToWall flag if the angle changed.
setAngle in class HomePieceOfFurniturepublic void setDepth(float depth)
boundToWall flag if the depth changed.
setDepth in class HomePieceOfFurniturepublic boolean isDoorOrWindow()
true.
isDoorOrWindow in interface PieceOfFurnitureisDoorOrWindow in class HomePieceOfFurniturepublic HomeDoorOrWindow clone()
clone in interface Selectableclone in class HomePieceOfFurniture
|
Sweet Home 3D 2.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
![]() |
© Copyrights 2006-2010 eTeks - All rights reserved
Distributed under GNU General Public License |