j2d.video.producers
Class GifSink
java.lang.Object
   j2d.video.producers.GifSink
j2d.video.producers.GifSink
- All Implemented Interfaces: 
- ImageListener
- public class GifSink 
- extends java.lang.Object- implements ImageListener
| Constructor Summary | 
| GifSink(java.io.File outputFile,
        int delayInMs,
        boolean isLooped,
        java.awt.Dimension sizeOfImage)
 | 
 
| Method Summary | 
|  void | close()Always close your gif animation when you are done or it will be
 corrupt.
 | 
|  void | finalize()
 | 
|  java.awt.Dimension | getSize()
 | 
|  boolean | isSaving()
 | 
|  void | setSaving(boolean saving)
 | 
|  void | update(java.awt.Image image)Used send the image to the listening application.
 | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
GifSink
public GifSink(java.io.File outputFile,
               int delayInMs,
               boolean isLooped,
               java.awt.Dimension sizeOfImage)
getSize
public java.awt.Dimension getSize()
- 
 
- 
 
update
public void update(java.awt.Image image)
- Description copied from interface: ImageListener
- Used send the image to the listening application.
 
- 
- Specified by:
- updatein interface- ImageListener
 
- 
 
close
public void close()
- Always close your gif animation when you are done or it will be
 corrupt.
 
- 
 
- 
 
isSaving
public boolean isSaving()
- 
 
- 
 
setSaving
public void setSaving(boolean saving)
- 
 
- 
 
finalize
public void finalize()
              throws java.lang.Throwable
- 
- Overrides:
- finalizein class- java.lang.Object
 
- 
- Throws:
- java.lang.Throwable