|
Sweet Home 3D 4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eteks.sweethome3d.model.Level
public class Level
A level in a home.
Nested Class Summary | |
---|---|
static class |
Level.Property
The properties of a level that may change. |
Constructor Summary | |
---|---|
Level(String name,
float elevation,
float floorThickness,
float height)
Creates a home level from an existing level. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds the property change listener in parameter to this level. |
Level |
clone()
Returns a clone of this level. |
BackgroundImage |
getBackgroundImage()
Returns the plan background image of this level. |
float |
getElevation()
Returns the elevation of the bottom of this level. |
float |
getFloorThickness()
Returns the floor thickness of this level. |
float |
getHeight()
Returns the height of this level. |
String |
getName()
Returns the name of this level. |
boolean |
isVisible()
Returns true if this level is visible. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes the property change listener in parameter from this level. |
void |
setBackgroundImage(BackgroundImage backgroundImage)
Sets the plan background image of this level and fires a PropertyChangeEvent . |
void |
setElevation(float elevation)
Sets the elevation of this level. |
void |
setFloorThickness(float floorThickness)
Sets the floor thickness of this level. |
void |
setHeight(float height)
Sets the height of this level. |
void |
setName(String name)
Sets the name of this level. |
void |
setVisible(boolean visible)
Sets whether this level is visible or not. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Level(String name, float elevation, float floorThickness, float height)
name
- the name of the levelelevation
- the elevation of the bottom of the levelfloorThickness
- the floor thickness of the levelheight
- the height of the levelMethod Detail |
---|
public void addPropertyChangeListener(PropertyChangeListener listener)
listener
in parameter to this level.
public void removePropertyChangeListener(PropertyChangeListener listener)
listener
in parameter from this level.
public String getName()
public void setName(String name)
public float getElevation()
public void setElevation(float elevation)
public float getFloorThickness()
public void setFloorThickness(float floorThickness)
public float getHeight()
public void setHeight(float height)
public BackgroundImage getBackgroundImage()
public void setBackgroundImage(BackgroundImage backgroundImage)
PropertyChangeEvent
.
public boolean isVisible()
true
if this level is visible.
public void setVisible(boolean visible)
public Level clone()
clone
in class Object
|
Sweet Home 3D 4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License |