public class VideoController extends java.lang.Object implements Controller
Modifier and Type | Class and Description |
---|---|
static class |
VideoController.Property
The properties that may be edited by the view associated to this controller.
|
Constructor and Description |
---|
VideoController(Home home,
UserPreferences preferences,
ViewFactory viewFactory,
ContentManager contentManager) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(VideoController.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.
|
AspectRatio |
getAspectRatio()
Returns the aspect ratio of the video.
|
java.util.List<Camera> |
getCameraPath()
Returns the camera path of the video.
|
int |
getCeilingLightColor()
Returns the edited ceiling light color.
|
ContentManager |
getContentManager()
Returns the content manager of this controller.
|
int |
getFrameRate()
Returns the frame rate of the video.
|
int |
getHeight()
Returns the height of the video.
|
int |
getQuality()
Returns the rendering quality of the video.
|
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 video.
|
void |
removePropertyChangeListener(VideoController.Property property,
java.beans.PropertyChangeListener listener)
Removes the property change
listener in parameter from this controller. |
void |
setAspectRatio(AspectRatio aspectRatio)
Sets the aspect ratio of the video.
|
void |
setCameraPath(java.util.List<Camera> cameraPath)
Sets the camera locations of the video.
|
void |
setCeilingLightColor(int ceilingLightColor)
Sets the edited ceiling light color.
|
void |
setFrameRate(int frameRate)
Sets the frame rate of the video.
|
void |
setHeight(int height)
Sets the height of the video.
|
void |
setQuality(int quality)
Sets the rendering quality of the video.
|
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 video.
|
protected void |
updateProperties()
Updates edited properties from the video creation preferences.
|
public VideoController(Home home, UserPreferences preferences, ViewFactory viewFactory, ContentManager contentManager)
public DialogView getView()
getView
in interface Controller
public void displayView(View parentView)
public ContentManager getContentManager()
public void addPropertyChangeListener(VideoController.Property property, java.beans.PropertyChangeListener listener)
listener
in parameter to this controller.public void removePropertyChangeListener(VideoController.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 setFrameRate(int frameRate)
public int getFrameRate()
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 java.util.List<Camera> getCameraPath()
public void setCameraPath(java.util.List<Camera> cameraPath)
public void setTime(long time)
public long getTime()
public void setCeilingLightColor(int ceilingLightColor)
public int getCeilingLightColor()
public void setVisualProperty(java.lang.String propertyName, java.lang.Object propertyValue)
© Copyrights 2006-2014 eTeks - All rights reserved
Distributed under GNU General Public License