nanomunchers.event
Interface FrameListener

All Known Implementing Classes:
SimulationStatus

public interface FrameListener

Listens to notifications of the playing or creation of Frames

Author:
David Kaplin

Method Summary
 void frameCreated(int totalFrames)
          Called when frames are created.
 void frameStarted(int currentFrame, int totalFrames)
          Called when a frame is being played.
 

Method Detail

frameCreated

public void frameCreated(int totalFrames)
Called when frames are created.

Parameters:
totalFrames - is the total number of frames known to exist now.

frameStarted

public void frameStarted(int currentFrame,
                         int totalFrames)
Called when a frame is being played.

Parameters:
currentFrame - being played
totalFrames - in the entire playback.