|
Sweet Home 3D 3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eteks.sweethome3d.viewcontroller.RoomController
public class RoomController
A MVC controller for room view.
Nested Class Summary | |
---|---|
static class |
RoomController.Property
The properties that may be edited by the view associated to this controller. |
static class |
RoomController.RoomPaint
The possible values for room paint type. |
Constructor Summary | |
---|---|
RoomController(Home home,
UserPreferences preferences,
ViewFactory viewFactory,
ContentManager contentManager,
javax.swing.undo.UndoableEditSupport undoSupport)
Creates the controller of room view with undo support. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(RoomController.Property property,
java.beans.PropertyChangeListener listener)
Adds the property change listener in parameter to this controller. |
void |
displayView(View parentView)
Displays the view controlled by this controller. |
java.lang.Boolean |
getAreaVisible()
Returns whether room area is visible or not. |
java.lang.Integer |
getCeilingColor()
Returns the edited color of the ceiling. |
RoomController.RoomPaint |
getCeilingPaint()
Returns whether the ceiling is colored, textured or unknown painted. |
java.lang.Float |
getCeilingShininess()
Returns the edited shininess of the ceiling. |
TextureChoiceController |
getCeilingTextureController()
Returns the texture controller of the room ceiling. |
java.lang.Boolean |
getCeilingVisible()
Returns whether room ceiling is ceilingCeilingVisible or not. |
java.lang.Integer |
getFloorColor()
Returns the edited color of the floor. |
RoomController.RoomPaint |
getFloorPaint()
Returns whether the floor is colored, textured or unknown painted. |
java.lang.Float |
getFloorShininess()
Returns the edited shininess of the floor. |
TextureChoiceController |
getFloorTextureController()
Returns the texture controller of the room floor. |
java.lang.Boolean |
getFloorVisible()
Returns whether room floor is visible or not. |
java.lang.String |
getName()
Returns the edited name. |
DialogView |
getView()
Returns the view associated with this controller. |
void |
modifyRooms()
Controls the modification of selected rooms in edited home. |
void |
removePropertyChangeListener(RoomController.Property property,
java.beans.PropertyChangeListener listener)
Removes the property change listener in parameter from this controller. |
void |
setAreaVisible(java.lang.Boolean areaVisible)
Sets whether room area is visible or not. |
void |
setCeilingColor(java.lang.Integer ceilingColor)
Sets the edited color of the ceiling. |
void |
setCeilingPaint(RoomController.RoomPaint ceilingPaint)
Sets whether the ceiling is colored, textured or unknown painted. |
void |
setCeilingShininess(java.lang.Float ceilingShininess)
Sets the edited shininess of the ceiling. |
void |
setCeilingVisible(java.lang.Boolean ceilingCeilingVisible)
Sets whether room ceiling is visible or not. |
void |
setFloorColor(java.lang.Integer floorColor)
Sets the edited color of the floor. |
void |
setFloorPaint(RoomController.RoomPaint floorPaint)
Sets whether the floor is colored, textured or unknown painted. |
void |
setFloorShininess(java.lang.Float floorShininess)
Sets the edited shininess of the floor. |
void |
setFloorVisible(java.lang.Boolean floorVisible)
Sets whether room floor is visible or not. |
void |
setName(java.lang.String name)
Sets the edited name. |
protected void |
updateProperties()
Updates edited properties from selected rooms in the home edited by this controller. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoomController(Home home, UserPreferences preferences, ViewFactory viewFactory, ContentManager contentManager, javax.swing.undo.UndoableEditSupport undoSupport)
Method Detail |
---|
public TextureChoiceController getFloorTextureController()
public TextureChoiceController getCeilingTextureController()
public DialogView getView()
getView
in interface Controller
public void displayView(View parentView)
public void addPropertyChangeListener(RoomController.Property property, java.beans.PropertyChangeListener listener)
listener
in parameter to this controller.
public void removePropertyChangeListener(RoomController.Property property, java.beans.PropertyChangeListener listener)
listener
in parameter from this controller.
protected void updateProperties()
public void setName(java.lang.String name)
public java.lang.String getName()
public void setAreaVisible(java.lang.Boolean areaVisible)
public java.lang.Boolean getAreaVisible()
public void setFloorVisible(java.lang.Boolean floorVisible)
public java.lang.Boolean getFloorVisible()
public void setFloorColor(java.lang.Integer floorColor)
public java.lang.Integer getFloorColor()
public void setFloorPaint(RoomController.RoomPaint floorPaint)
public RoomController.RoomPaint getFloorPaint()
public void setFloorShininess(java.lang.Float floorShininess)
public java.lang.Float getFloorShininess()
public void setCeilingVisible(java.lang.Boolean ceilingCeilingVisible)
public java.lang.Boolean getCeilingVisible()
public void setCeilingColor(java.lang.Integer ceilingColor)
public java.lang.Integer getCeilingColor()
public void setCeilingPaint(RoomController.RoomPaint ceilingPaint)
public RoomController.RoomPaint getCeilingPaint()
public void setCeilingShininess(java.lang.Float ceilingShininess)
public java.lang.Float getCeilingShininess()
public void modifyRooms()
|
Sweet Home 3D 3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License |