public class PhotoController extends AbstractPhotoController
Modifier and Type | Class and Description |
---|---|
static class |
PhotoController.Property
The properties that may be edited by the view associated to this controller.
|
Constructor and Description |
---|
PhotoController(Home home,
UserPreferences preferences,
View view3D,
ViewFactory viewFactory,
ContentManager contentManager) |
Modifier and Type | Method and Description |
---|---|
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.
|
Camera.Lens |
getLens()
Returns the edited camera lens.
|
java.lang.String |
getRenderer()
Returns the edited camera rendering engine.
|
long |
getTime()
Returns the edited time in UTC time zone.
|
DialogView |
getView()
Returns the view associated with this controller.
|
void |
removePropertyChangeListener(PhotoController.Property property,
java.beans.PropertyChangeListener listener)
Removes the property change
listener in parameter from this controller. |
void |
setLens(Camera.Lens lens)
Sets the edited camera lens.
|
void |
setRenderer(java.lang.String renderer)
Sets the edited camera rendering engine.
|
void |
setTime(long time)
Sets the edited time in UTC time zone.
|
protected void |
updateProperties()
Updates edited properties from the photo creation preferences.
|
addPropertyChangeListener, get3DView, get3DViewAspectRatio, getAspectRatio, getCeilingLightColor, getContentManager, getHeight, getQuality, getQualityLevelCount, getWidth, removePropertyChangeListener, set3DViewAspectRatio, setAspectRatio, setCeilingLightColor, setHeight, setHomeProperty, setQuality, setVisualProperty, setWidth
public PhotoController(Home home, UserPreferences preferences, View view3D, ViewFactory viewFactory, ContentManager contentManager)
public DialogView getView()
public void displayView(View parentView)
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()
updateProperties
in class AbstractPhotoController
public void setTime(long time)
public long getTime()
public void setLens(Camera.Lens lens)
public Camera.Lens getLens()
public void setRenderer(java.lang.String renderer)
public java.lang.String getRenderer()
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License