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,
PropertyChangeListener listener)
Adds the property change
listener in parameter to this controller. |
void |
displayView(View parentView)
Displays the view controlled by this controller.
|
List<Camera> |
getCameras()
Returns the cameras available to create photos.
|
Float |
getFileCompressionQuality()
Returns the compression quality used to save image files.
|
String |
getFileFormat()
Returns the format used to save image files.
|
List<Camera> |
getSelectedCameras()
Returns the selected cameras to create photos.
|
DialogView |
getView()
Returns the view associated with this controller.
|
void |
removePropertyChangeListener(PhotosController.Property property,
PropertyChangeListener listener)
Removes the property change
listener in parameter from this controller. |
void |
setFileCompressionQuality(Float fileCompressionQuality)
Sets the compression quality used to save image files.
|
void |
setFileFormat(String fileFormat)
Sets the format used to save image files.
|
void |
setSelectedCameras(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, PropertyChangeListener listener)
listener
in parameter to this controller.public void removePropertyChangeListener(PhotosController.Property property, PropertyChangeListener listener)
listener
in parameter from this controller.protected void updateProperties()
updateProperties
in class AbstractPhotoController
public List<Camera> getSelectedCameras()
public void setSelectedCameras(List<Camera> selectedCameras)
public String getFileFormat()
public void setFileFormat(String fileFormat)
public Float getFileCompressionQuality()
public void setFileCompressionQuality(Float fileCompressionQuality)
© Copyrights 2006-2016 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License