|
Sweet Home 3D 4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eteks.sweethome3d.viewcontroller.Home3DAttributesController
public class Home3DAttributesController
A MVC controller for home 3D attributes view.
Nested Class Summary | |
---|---|
static class |
Home3DAttributesController.EnvironmentPaint
The possible values for ground paint type. |
static class |
Home3DAttributesController.Property
The properties that may be edited by the view associated to this controller. |
Constructor Summary | |
---|---|
Home3DAttributesController(Home home,
UserPreferences preferences,
ViewFactory viewFactory,
ContentManager contentManager,
UndoableEditSupport undoSupport)
Creates the controller of 3D view with undo support. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(Home3DAttributesController.Property property,
PropertyChangeListener listener)
Adds the property change listener in parameter to this controller. |
void |
displayView(View parentView)
Displays the view controlled by this controller. |
int |
getGroundColor()
Returns the edited ground color. |
Home3DAttributesController.EnvironmentPaint |
getGroundPaint()
Returns whether the ground is colored or textured. |
TextureChoiceController |
getGroundTextureController()
Returns the texture controller of the ground. |
int |
getLightColor()
Returns the edited light color. |
int |
getSkyColor()
Returns the edited sky color. |
Home3DAttributesController.EnvironmentPaint |
getSkyPaint()
Returns whether the sky is colored or textured. |
TextureChoiceController |
getSkyTextureController()
Returns the texture controller of the sky. |
DialogView |
getView()
Returns the view associated with this controller. |
float |
getWallsAlpha()
Returns the edited walls transparency alpha. |
void |
modify3DAttributes()
Controls the modification of the 3D attributes of the edited home. |
void |
removePropertyChangeListener(Home3DAttributesController.Property property,
PropertyChangeListener listener)
Removes the property change listener in parameter from this controller. |
void |
setGroundColor(int groundColor)
Sets the edited ground color. |
void |
setGroundPaint(Home3DAttributesController.EnvironmentPaint groundPaint)
Sets whether the ground is colored or textured. |
void |
setLightColor(int lightColor)
Sets the edited light color. |
void |
setSkyColor(int skyColor)
Sets the edited sky color. |
void |
setSkyPaint(Home3DAttributesController.EnvironmentPaint skyPaint)
Sets whether the sky is colored or textured. |
void |
setWallsAlpha(float wallsAlpha)
Sets the edited walls transparency alpha. |
protected void |
updateProperties()
Updates edited properties from the 3D attributes of 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 Home3DAttributesController(Home home, UserPreferences preferences, ViewFactory viewFactory, ContentManager contentManager, UndoableEditSupport undoSupport)
Method Detail |
---|
public TextureChoiceController getGroundTextureController()
public TextureChoiceController getSkyTextureController()
public DialogView getView()
getView
in interface Controller
public void displayView(View parentView)
public void addPropertyChangeListener(Home3DAttributesController.Property property, PropertyChangeListener listener)
listener
in parameter to this controller.
public void removePropertyChangeListener(Home3DAttributesController.Property property, PropertyChangeListener listener)
listener
in parameter from this controller.
protected void updateProperties()
public void setGroundColor(int groundColor)
public int getGroundColor()
public void setGroundPaint(Home3DAttributesController.EnvironmentPaint groundPaint)
public Home3DAttributesController.EnvironmentPaint getGroundPaint()
public void setSkyColor(int skyColor)
public int getSkyColor()
public void setSkyPaint(Home3DAttributesController.EnvironmentPaint skyPaint)
public Home3DAttributesController.EnvironmentPaint getSkyPaint()
public void setLightColor(int lightColor)
public int getLightColor()
public void setWallsAlpha(float wallsAlpha)
public float getWallsAlpha()
public void modify3DAttributes()
|
Sweet Home 3D 4.1 | |||||||||
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 |