org.mindswap.multimedia.impl
Class VideoFrameImpl

java.lang.Object
  extended byResourceImpl
      extended byorg.mindswap.multimedia.impl.ImageImpl
          extended byorg.mindswap.multimedia.impl.VideoFrameImpl
All Implemented Interfaces:
DigitalMedia, Image, VideoFrame

public class VideoFrameImpl
extends ImageImpl
implements VideoFrame

Title:

Description:

Copyright: Copyright (c) 2005

Company: Mindswap (http://www.mindswap.org)

See Also:
Serialized Form

Field Summary
static Implementation factory
           
 
Fields inherited from interface org.mindswap.multimedia.VideoFrame
UNDEFINED
 
Constructor Summary
VideoFrameImpl(Node n, EnhGraph g)
           
 
Method Summary
 int frameNumber()
          Returns the frame number of this frame
 Video frameOf()
          Returns the Video this frame is a frame of
 void setFrameNumber(int theFrameNumber)
          Sets the frame number for this frame
 void setFrameOf(Video theVideo)
          Sets which video this frame belongs to
 
Methods inherited from class org.mindswap.multimedia.impl.ImageImpl
addDepicts, addRegion, getDCDescription, getImageURL, listDepicts, listRegions, mustBeValidModel, removeDepicts, removeRegion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mindswap.multimedia.Image
addRegion, getDCDescription, getImageURL, listDepicts, listRegions, removeRegion
 
Methods inherited from interface org.mindswap.multimedia.DigitalMedia
addDepicts, removeDepicts
 

Field Detail

factory

public static Implementation factory
Constructor Detail

VideoFrameImpl

public VideoFrameImpl(Node n,
                      EnhGraph g)
Method Detail

frameOf

public Video frameOf()
Description copied from interface: VideoFrame
Returns the Video this frame is a frame of

Specified by:
frameOf in interface VideoFrame
Returns:
Video the parent video

frameNumber

public int frameNumber()
Description copied from interface: VideoFrame
Returns the frame number of this frame

Specified by:
frameNumber in interface VideoFrame
Returns:
int the frame number in the context of the parent video

setFrameOf

public void setFrameOf(Video theVideo)
Description copied from interface: VideoFrame
Sets which video this frame belongs to

Specified by:
setFrameOf in interface VideoFrame
Parameters:
theVideo - Video the new parent video

setFrameNumber

public void setFrameNumber(int theFrameNumber)
Description copied from interface: VideoFrame
Sets the frame number for this frame

Specified by:
setFrameNumber in interface VideoFrame
Parameters:
theFrameNumber - int the new frame number