noope.output
Interface AnimationListener

All Known Implementing Classes:
DrawingWindow, AnimatedGifCreator

public interface AnimationListener

The OutputProjection Law uses an object implementing this interface for displaying animations, or outputting them to a gif file... . OutputProjection draws into the AnimationListener by drawing to the Graphics2D object returned by drawingGraphics().

Version:
05-May-2001
Author:
Miklos Reiter

Method Summary
 void dispose()
          Disposes of system resources used and finished processing, e.g.
 java.awt.Graphics2D drawingGraphics()
          Returns a Graphics2D object that can be used to draw into the BufferedImage.
 boolean isWorking()
          Whether this AnimationListener is ready to be sent image information (or whether it is useful to do so.
 void updateComplete()
          Should be called when
 

Method Detail

drawingGraphics

public java.awt.Graphics2D drawingGraphics()
Returns a Graphics2D object that can be used to draw into the BufferedImage.

updateComplete

public void updateComplete()
Should be called when

isWorking

public boolean isWorking()
Whether this AnimationListener is ready to be sent image information (or whether it is useful to do so. For example, a window, after being made invisible does not need any more graphics information.) Returns false after dispose() has been called.

dispose

public void dispose()
Disposes of system resources used and finished processing, e.g. closing open files... .