public class PhotosController extends AbstractPhotoController
Modifier and Type | Class and Description |
---|---|
static class |
PhotosController.Property
The properties that may be edited by the view associated to this controller.
|
Constructor and Description |
---|
PhotosController(Home home,
UserPreferences preferences,
View view3D,
ViewFactory viewFactory,
ContentManager contentManager) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PhotosController.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.util.List<Camera> |
getCameras()
Returns the cameras available to create photos.
|
java.lang.Float |
getFileCompressionQuality()
Returns the compression quality used to save image files.
|
java.lang.String |
getFileFormat()
Returns the format used to save image files.
|
java.util.List<Camera> |
getSelectedCameras()
Returns the selected cameras to create photos.
|
DialogView |
getView()
Returns the view associated with this controller.
|
void |
removePropertyChangeListener(PhotosController.Property property,
java.beans.PropertyChangeListener listener)
Removes the property change
listener in parameter from this controller. |
void |
setFileCompressionQuality(java.lang.Float fileCompressionQuality)
Sets the compression quality used to save image files.
|
void |
setFileFormat(java.lang.String fileFormat)
Sets the format used to save image files.
|
void |
setSelectedCameras(java.util.List<Camera> selectedCameras)
Sets the selected cameras to create photos.
|
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 PhotosController(Home home, UserPreferences preferences, View view3D, ViewFactory viewFactory, ContentManager contentManager)
public DialogView getView()
public void displayView(View parentView)
public void addPropertyChangeListener(PhotosController.Property property, java.beans.PropertyChangeListener listener)
listener
in parameter to this controller.public void removePropertyChangeListener(PhotosController.Property property, java.beans.PropertyChangeListener listener)
listener
in parameter from this controller.protected void updateProperties()
updateProperties
in class AbstractPhotoController
public java.util.List<Camera> getCameras()
public java.util.List<Camera> getSelectedCameras()
public void setSelectedCameras(java.util.List<Camera> selectedCameras)
public java.lang.String getFileFormat()
public void setFileFormat(java.lang.String fileFormat)
public java.lang.Float getFileCompressionQuality()
public void setFileCompressionQuality(java.lang.Float fileCompressionQuality)
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License