|
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.PhotoController
public class PhotoController
The controller of the photo creation view.
Nested Class Summary | |
---|---|
static class |
PhotoController.Property
The properties that may be edited by the view associated to this controller. |
Constructor Summary | |
---|---|
PhotoController(Home home,
UserPreferences preferences,
View view3D,
ViewFactory viewFactory,
ContentManager contentManager)
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(PhotoController.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. |
View |
get3DView()
Returns the 3D view used to compute aspect ratio bound to it. |
float |
get3DViewAspectRatio()
Returns the aspect ratio of the 3D view. |
AspectRatio |
getAspectRatio()
Returns the aspect ratio of the photo. |
int |
getCeilingLightColor()
Returns the edited ceiling light color. |
ContentManager |
getContentManager()
Returns the content manager of this controller. |
int |
getHeight()
Returns the height of the photo. |
Camera.Lens |
getLens()
Returns the edited camera lens. |
int |
getQuality()
Returns the rendering quality of the photo. |
int |
getQualityLevelCount()
Returns the maximum value for quality. |
long |
getTime()
Returns the edited time in UTC time zone. |
DialogView |
getView()
Returns the view associated with this controller. |
int |
getWidth()
Returns the width of the photo. |
void |
removePropertyChangeListener(PhotoController.Property property,
java.beans.PropertyChangeListener listener)
Removes the property change listener in parameter from this controller. |
void |
set3DViewAspectRatio(float view3DAspectRatio)
Sets the aspect ratio of the 3D view. |
void |
setAspectRatio(AspectRatio aspectRatio)
Sets the aspect ratio of the photo. |
void |
setCeilingLightColor(int ceilingLightColor)
Sets the edited ceiling light color. |
void |
setHeight(int height)
Sets the height of the photo. |
void |
setLens(Camera.Lens lens)
Sets the edited camera lens. |
void |
setQuality(int quality)
Sets the rendering quality of the photo. |
void |
setTime(long time)
Sets the edited time in UTC time zone. |
void |
setVisualProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
Controls the change of value of a visual property in home. |
void |
setWidth(int width)
Sets the width of the photo. |
protected void |
updateProperties()
Updates edited properties from the photo creation preferences. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PhotoController(Home home, UserPreferences preferences, View view3D, ViewFactory viewFactory, ContentManager contentManager)
Method Detail |
---|
public DialogView getView()
getView
in interface Controller
public void displayView(View parentView)
public ContentManager getContentManager()
public void addPropertyChangeListener(PhotoController.Property property, java.beans.PropertyChangeListener listener)
listener
in parameter to this controller.
public void removePropertyChangeListener(PhotoController.Property property, java.beans.PropertyChangeListener listener)
listener
in parameter from this controller.
protected void updateProperties()
public void setAspectRatio(AspectRatio aspectRatio)
public AspectRatio getAspectRatio()
public void setWidth(int width)
public int getWidth()
public void setHeight(int height)
public int getHeight()
public void setQuality(int quality)
public int getQuality()
public int getQualityLevelCount()
public void setTime(long time)
public long getTime()
public void setLens(Camera.Lens lens)
public Camera.Lens getLens()
public void setCeilingLightColor(int ceilingLightColor)
public int getCeilingLightColor()
public void set3DViewAspectRatio(float view3DAspectRatio)
public float get3DViewAspectRatio()
public View get3DView()
public void setVisualProperty(java.lang.String propertyName, java.lang.Object propertyValue)
|
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 |