org.mindswap.multimedia
Interface VideoFrame

All Superinterfaces:
DigitalMedia, Image
All Known Implementing Classes:
VideoFrameImpl

public interface VideoFrame
extends Image

Title:

Description:

Copyright: Copyright (c) 2005

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


Field Summary
static int UNDEFINED
          Const for a undefined frame
 
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 interface org.mindswap.multimedia.Image
addRegion, getDCDescription, getImageURL, listDepicts, listRegions, removeRegion
 
Methods inherited from interface org.mindswap.multimedia.DigitalMedia
addDepicts, removeDepicts
 

Field Detail

UNDEFINED

public static final int UNDEFINED
Const for a undefined frame

See Also:
Constant Field Values
Method Detail

frameOf

public Video frameOf()
Returns the Video this frame is a frame of

Returns:
Video the parent video

frameNumber

public int frameNumber()
Returns the frame number of this frame

Returns:
int the frame number in the context of the parent video

setFrameOf

public void setFrameOf(Video theVideo)
Sets which video this frame belongs to

Parameters:
theVideo - Video the new parent video

setFrameNumber

public void setFrameNumber(int theFrameNumber)
Sets the frame number for this frame

Parameters:
theFrameNumber - int the new frame number