org.mindswap.multimedia
Interface VideoSegment

All Known Implementing Classes:
VideoSegmentImpl

public interface VideoSegment

Title:

Description:

Copyright: Copyright (c) 2005

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


Field Summary
static int UNDEFINED
          Const for an undefined start or end frame in a video segment
 
Method Summary
 int endFrame()
          The end frame of this video segment
 Video segmentOf()
          Returns the Video this segment is a part of
 void setEndFrame(int theEndFrame)
          Sets the end frame for the segment
 void setSegmentOf(Video theVideo)
          Sets the parent video for this video segment
 void setStartFrame(int theStartFrame)
          Sets the start frame for the segment
 int startFrame()
          The start frame of this video segment
 

Field Detail

UNDEFINED

public static final int UNDEFINED
Const for an undefined start or end frame in a video segment

See Also:
Constant Field Values
Method Detail

segmentOf

public Video segmentOf()
Returns the Video this segment is a part of

Returns:
Video the parent Video

startFrame

public int startFrame()
The start frame of this video segment

Returns:
int the start frame

endFrame

public int endFrame()
The end frame of this video segment

Returns:
int the end frame

setStartFrame

public void setStartFrame(int theStartFrame)
Sets the start frame for the segment

Parameters:
theStartFrame - int the new start frame

setEndFrame

public void setEndFrame(int theEndFrame)
Sets the end frame for the segment

Parameters:
theEndFrame - int the new end frame

setSegmentOf

public void setSegmentOf(Video theVideo)
Sets the parent video for this video segment

Parameters:
theVideo - Video the new parent video