|
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.WallController
public class WallController
A MVC controller for wall view.
Nested Class Summary | |
---|---|
static class |
WallController.Property
The properties that may be edited by the view associated to this controller. |
static class |
WallController.WallPaint
The possible values for wall paint type. |
static class |
WallController.WallShape
The possible values for wall shape. |
Constructor Summary | |
---|---|
WallController(Home home,
UserPreferences preferences,
ViewFactory viewFactory,
ContentManager contentManager,
javax.swing.undo.UndoableEditSupport undoSupport)
Creates the controller of wall view with undo support. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(WallController.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.Float |
getArcExtentInDegrees()
Returns the edited arc extent. |
java.lang.Float |
getDistanceToEndPoint()
Returns the edited distance to end point. |
java.lang.Integer |
getLeftSideColor()
Returns the edited color of the left side. |
WallController.WallPaint |
getLeftSidePaint()
Returns whether the left side is colored, textured or unknown painted. |
java.lang.Float |
getLeftSideShininess()
Returns the edited left side shininess. |
TextureChoiceController |
getLeftSideTextureController()
Returns the texture controller of the wall left side. |
java.lang.Float |
getLength()
Returns the edited length. |
java.lang.Float |
getRectangularWallHeight()
Returns the edited height of a rectangular wall. |
java.lang.Integer |
getRightSideColor()
Returns the edited color of the right side. |
WallController.WallPaint |
getRightSidePaint()
Returns whether the right side is colored, textured or unknown painted. |
java.lang.Float |
getRightSideShininess()
Returns the edited right side shininess. |
TextureChoiceController |
getRightSideTextureController()
Returns the texture controller of the wall right side. |
WallController.WallShape |
getShape()
Returns whether the edited wall is a rectangular wall, a sloping wall or unknown. |
java.lang.Float |
getSlopingWallHeightAtEnd()
Returns the edited height at end of a sloping wall. |
java.lang.Float |
getSlopingWallHeightAtStart()
Returns the edited height at start of a sloping wall. |
java.lang.Float |
getThickness()
Returns the edited thickness. |
DialogView |
getView()
Returns the view associated with this controller. |
java.lang.Float |
getXEnd()
Returns the edited abscissa of the end point. |
java.lang.Float |
getXStart()
Returns the edited abscissa of the start point. |
java.lang.Float |
getYEnd()
Returns the edited ordinate of the end point. |
java.lang.Float |
getYStart()
Returns the edited ordinate of the start point. |
boolean |
isEditablePoints()
Returns whether the edited wall is rectangular or not. |
void |
modifyWalls()
Controls the modification of selected walls in edited home. |
void |
removePropertyChangeListener(WallController.Property property,
java.beans.PropertyChangeListener listener)
Removes the property change listener in parameter from this controller. |
void |
setArcExtentInDegrees(java.lang.Float arcExtentInDegrees)
Sets the edited arc extent. |
void |
setDistanceToEndPoint(java.lang.Float distanceToEndPoint)
Sets the edited distance to end point. |
void |
setEditablePoints(boolean editablePoints)
Sets whether the point coordinates can be be edited or not. |
void |
setLeftSideColor(java.lang.Integer leftSideColor)
Sets the edited color of the left side. |
void |
setLeftSidePaint(WallController.WallPaint leftSidePaint)
Sets whether the left side is colored, textured or unknown painted. |
void |
setLeftSideShininess(java.lang.Float leftSideShininess)
Sets the edited left side shininess. |
void |
setLength(java.lang.Float length)
Sets the edited length. |
void |
setRectangularWallHeight(java.lang.Float rectangularWallHeight)
Sets the edited height of a rectangular wall. |
void |
setRightSideColor(java.lang.Integer rightSideColor)
Sets the edited color of the right side. |
void |
setRightSidePaint(WallController.WallPaint rightSidePaint)
Sets whether the right side is colored, textured or unknown painted. |
void |
setRightSideShininess(java.lang.Float rightSideShininess)
Sets the edited right side shininess. |
void |
setShape(WallController.WallShape shape)
Sets whether the edited wall is a rectangular wall, a sloping wall or unknown. |
void |
setSlopingWallHeightAtEnd(java.lang.Float sloppingWallHeightAtEnd)
Sets the edited height at end of a sloping wall. |
void |
setSlopingWallHeightAtStart(java.lang.Float slopingWallHeightAtStart)
Sets the edited height at start of a sloping wall. |
void |
setThickness(java.lang.Float thickness)
Sets the edited thickness. |
void |
setXEnd(java.lang.Float xEnd)
Sets the edited abscissa of the end point. |
void |
setXStart(java.lang.Float xStart)
Sets the edited abscissa of the start point. |
void |
setYEnd(java.lang.Float yEnd)
Sets the edited ordinate of the end point. |
void |
setYStart(java.lang.Float yStart)
Sets the edited ordinate of the start point. |
protected void |
updateProperties()
Updates edited properties from selected walls 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 WallController(Home home, UserPreferences preferences, ViewFactory viewFactory, ContentManager contentManager, javax.swing.undo.UndoableEditSupport undoSupport)
Method Detail |
---|
public TextureChoiceController getLeftSideTextureController()
public TextureChoiceController getRightSideTextureController()
public DialogView getView()
getView
in interface Controller
public void displayView(View parentView)
public void addPropertyChangeListener(WallController.Property property, java.beans.PropertyChangeListener listener)
listener
in parameter to this controller.
public void removePropertyChangeListener(WallController.Property property, java.beans.PropertyChangeListener listener)
listener
in parameter from this controller.
protected void updateProperties()
public void setXStart(java.lang.Float xStart)
public java.lang.Float getXStart()
public void setYStart(java.lang.Float yStart)
public java.lang.Float getYStart()
public void setXEnd(java.lang.Float xEnd)
public java.lang.Float getXEnd()
public void setYEnd(java.lang.Float yEnd)
public java.lang.Float getYEnd()
public void setLength(java.lang.Float length)
public java.lang.Float getLength()
public void setDistanceToEndPoint(java.lang.Float distanceToEndPoint)
public java.lang.Float getDistanceToEndPoint()
public void setEditablePoints(boolean editablePoints)
public boolean isEditablePoints()
public void setLeftSideColor(java.lang.Integer leftSideColor)
public java.lang.Integer getLeftSideColor()
public void setLeftSidePaint(WallController.WallPaint leftSidePaint)
public WallController.WallPaint getLeftSidePaint()
public void setLeftSideShininess(java.lang.Float leftSideShininess)
public java.lang.Float getLeftSideShininess()
public void setRightSideColor(java.lang.Integer rightSideColor)
public java.lang.Integer getRightSideColor()
public void setRightSidePaint(WallController.WallPaint rightSidePaint)
public WallController.WallPaint getRightSidePaint()
public void setRightSideShininess(java.lang.Float rightSideShininess)
public java.lang.Float getRightSideShininess()
public void setShape(WallController.WallShape shape)
public WallController.WallShape getShape()
public void setRectangularWallHeight(java.lang.Float rectangularWallHeight)
public java.lang.Float getRectangularWallHeight()
public void setSlopingWallHeightAtStart(java.lang.Float slopingWallHeightAtStart)
public java.lang.Float getSlopingWallHeightAtStart()
public void setSlopingWallHeightAtEnd(java.lang.Float sloppingWallHeightAtEnd)
public java.lang.Float getSlopingWallHeightAtEnd()
public void setThickness(java.lang.Float thickness)
public java.lang.Float getThickness()
public void setArcExtentInDegrees(java.lang.Float arcExtentInDegrees)
public java.lang.Float getArcExtentInDegrees()
public void modifyWalls()
|
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 |