visual.dynamic.sampled
Interface FrameOp

All Known Subinterfaces:
Superimposition, Transition
All Known Implementing Classes:
AbstractFrameOp, AbstractSuperimposition, AbstractTransition, Dissolve, Fade, LineWipe, RectangleWipe, TransformableContentSuperimposition

public interface FrameOp

The requirements of all operations on frames of sampled dyanmic content (individual and multiple-frame operations)

See Also:
"The Design and Implementation of Multimedia Software © 2011"

Method Summary
 int getFirstFrame()
          Get the index of the first frame of this FrameOp
 int getLastFrame()
          Get the index of the last frame of this FrameOp
 void postRendering(java.awt.Graphics g, int frame)
          Apply the post-rendering portion of this Transition
 void preRendering(java.awt.Graphics g, int frame)
          Apply the pre-rendering portion of this Transition
 

Method Detail

getFirstFrame

int getFirstFrame()
Get the index of the first frame of this FrameOp

Returns:
The index of the first frame

getLastFrame

int getLastFrame()
Get the index of the last frame of this FrameOp

Returns:
The index of the last frame

postRendering

void postRendering(java.awt.Graphics g,
                   int frame)
Apply the post-rendering portion of this Transition

Parameters:
g - The rendering engine
frame - The current frame number

preRendering

void preRendering(java.awt.Graphics g,
                  int frame)
Apply the pre-rendering portion of this Transition

Parameters:
g - The rendering engine
frame - The current frame number


Design and Implementation of Multimedia Software, Jones and Bartlett Publishers