| jacareto.record.Recordable jacareto.record.MediaClipRecordable jacareto.record.VideoClipRecordable
VideoClipRecordable | public class VideoClipRecordable extends MediaClipRecordable implements ControllerListener(Code) | | Represents a VideoClip.
author: Oliver Specht version: $revision$ |
Constructor Summary | |
public | VideoClipRecordable(Environment env, String filename, int x, int y, int width, int height, boolean hasAutomaticSizeDetection) Creates a new video clip recordable. | public | VideoClipRecordable(Environment env, int x, int y, int width, int height, boolean hasAutomaticSizeDetection) Creates a new video clip recordable with no file reference. | public | VideoClipRecordable(Environment env) Creates a new video clip recordable with no file reference an no coordinates. | public | VideoClipRecordable() |
DEFAULT_HEIGHT | final public static int DEFAULT_HEIGHT(Code) | | |
DEFAULT_WIDTH | final public static int DEFAULT_WIDTH(Code) | | |
duration | long duration(Code) | | The duration
|
VideoClipRecordable | public VideoClipRecordable(Environment env, String filename, int x, int y, int width, int height, boolean hasAutomaticSizeDetection)(Code) | | Creates a new video clip recordable.
Parameters: env - the environment Parameters: filename - the name of the audio file Parameters: x - the x coordinate of the video window Parameters: y - the y coordinate of the video window Parameters: width - the width of the video window Parameters: height - the height of the video window Parameters: hasAutomaticSizeDetection - whether or not the size of the window is set automatically |
VideoClipRecordable | public VideoClipRecordable(Environment env, int x, int y, int width, int height, boolean hasAutomaticSizeDetection)(Code) | | Creates a new video clip recordable with no file reference.
Parameters: env - Environment Parameters: x - the x coordinate of the video window Parameters: y - the y coordinate of the video window Parameters: width - the width of the video window Parameters: height - the height of the video window Parameters: hasAutomaticSizeDetection - whether or not the size of the window is set automatically |
VideoClipRecordable | public VideoClipRecordable(Environment env)(Code) | | Creates a new video clip recordable with no file reference an no coordinates.
Parameters: env - Environment |
VideoClipRecordable | public VideoClipRecordable()(Code) | | Creates a new VideoClipRecordable
|
controllerUpdate | public void controllerUpdate(ControllerEvent event)(Code) | | |
determineDuration | public boolean determineDuration()(Code) | | Determines the duration of a video file. If the video can't be displayed, an exception
occurs!
true, if the duration could be determined |
getDuration | public long getDuration()(Code) | | |
getElementDescription | public String getElementDescription()(Code) | | |
getHeight | public int getHeight()(Code) | | Returns the height of the video window.
the height |
getWidth | public int getWidth()(Code) | | Returns the width of the video window.
the width |
getX | public int getX()(Code) | | Returns the x coordinate of the video window.
the x coordinate |
getY | public int getY()(Code) | | Returns the y coordinate of the video window.
the y coordinate |
hasAutomaticSizeDetection | public boolean hasAutomaticSizeDetection()(Code) | | Returns whether or not the window size is determined automatically.
true if the size is determined automatically |
hasProcTime | public boolean hasProcTime()(Code) | | VideoClips don't have a processing time, because they are being replayed by the
jacareto.replay.MediaClipReplayer which handles the processing etc.
boolean false |
setAutomaticSizeDetection | public void setAutomaticSizeDetection(boolean hasAutomaticSizeDetection)(Code) | | Sets whether or not the size of the window is set automatically.
Parameters: hasAutomaticSizeDetection - true when the size of the window should bedetermined automatically |
setDuration | public void setDuration(long duration)(Code) | | |
setHeight | public void setHeight(int height)(Code) | | Sets the height of the video window.
Parameters: height - the new height |
setWidth | public void setWidth(int width)(Code) | | Sets the width of the video window.
Parameters: width - the new width |
setX | public void setX(int x)(Code) | | Sets the x coordinate of the video window.
Parameters: x - the new x coordinate |
setY | public void setY(int y)(Code) | | Sets the y coordinate of the video window.
Parameters: y - the new y coordinate |
|
|