com.macromedia.generator.api
Class PngBuilder

java.lang.Object
  |
  +--com.macromedia.generator.api.GenObject
        |
        +--com.macromedia.generator.api.PngBuilder

public class PngBuilder
extends GenObject


Fields inherited from class com.macromedia.generator.api.GenObject
peer
 
Constructor Summary
  PngBuilder()
           
protected PngBuilder(int i)
           
 
Method Summary
 void build(Buffer buffer, Buffer buffer1)
           
protected  void finalize()
           
 void release()
           
 void setColorOptimization(boolean flag)
           
 void setDimensions(int i, int j)
           
 void setDither(boolean flag)
           
 void setDitherType(int i)
           
 void setExactFit(boolean flag)
           
 void setFilePalette(java.lang.String s)
           
 void setGradient(boolean flag)
           
 void setInterlace(boolean flag)
           
 void setMaxColors(int i)
           
 void setOption(int i)
           
 void setPaletteType(int i)
           
 void setSerial(Serial serial)
           
 void setSmooth(boolean flag)
           
 void setType(int i)
           
 
Methods inherited from class com.macromedia.generator.api.GenObject
getPeer
 
Methods inherited from class java.lang.Object
, clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PngBuilder

public PngBuilder()
           throws GeneratorApiException

PngBuilder

protected PngBuilder(int i)
              throws GeneratorApiException
Method Detail

build

public void build(Buffer buffer,
                  Buffer buffer1)
           throws GeneratorApiException

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object

release

public void release()
Overrides:
release in class GenObject

setColorOptimization

public void setColorOptimization(boolean flag)
                          throws GeneratorApiException

setDimensions

public void setDimensions(int i,
                          int j)
                   throws GeneratorApiException

setDither

public void setDither(boolean flag)
               throws GeneratorApiException

setDitherType

public void setDitherType(int i)
                   throws GeneratorApiException

setExactFit

public void setExactFit(boolean flag)
                 throws GeneratorApiException

setFilePalette

public void setFilePalette(java.lang.String s)
                    throws GeneratorApiException

setGradient

public void setGradient(boolean flag)
                 throws GeneratorApiException

setInterlace

public void setInterlace(boolean flag)
                  throws GeneratorApiException

setMaxColors

public void setMaxColors(int i)
                  throws GeneratorApiException

setOption

public void setOption(int i)
               throws GeneratorApiException

setPaletteType

public void setPaletteType(int i)
                    throws GeneratorApiException

setSerial

public void setSerial(Serial serial)
               throws GeneratorApiException

setSmooth

public void setSmooth(boolean flag)
               throws GeneratorApiException

setType

public void setType(int i)
             throws GeneratorApiException