jdbreport.model
Class PictureWMF

java.lang.Object
  extended by jdbreport.model.Picture
      extended by jdbreport.model.PictureSVG
          extended by jdbreport.model.PictureWMF

public class PictureWMF
extends PictureSVG

Version:
1.0 15.10.2010
Author:
Andrey Kholmanskih

Field Summary
 
Fields inherited from class jdbreport.model.PictureSVG
ERROR_INCOMPATIBLE_INPUT_TYPE, ERROR_INCOMPATIBLE_OUTPUT_TYPE, ERROR_NULL_INPUT, SVG, TIFF, WMF, WMF_TRANSCODER_ERROR_BASE
 
Fields inherited from class jdbreport.model.Picture
buf, format, height, icon, iconHeight, iconWidth, JPEG, JPG, PNG, width
 
Constructor Summary
PictureWMF(byte[] buf)
           
PictureWMF(byte[] buf, String format)
           
PictureWMF(String format)
           
 
Method Summary
 BufferedImage createImage(int width, int height, String format)
           
protected  void createRecordStore()
           
 String getXML()
           
 void paint(Graphics2D g2)
           
 void paint(Graphics2D g2, AffineTransformOp aop)
           
 void paint(Graphics2D g2, int width, int height)
           
 void setBuf(byte[] buf)
           
 
Methods inherited from class jdbreport.model.PictureSVG
createDocument, createIcon, createImage, getBuf, wmfToSvg
 
Methods inherited from class jdbreport.model.Picture
checkImageWriterFormat, createBuf, getFormat, getHeight, getIcon, getIcon, getImage, getRenderedImage, getRenderedImage, getWidth, isScale, load, load, saveToFile, setFormat, setScale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PictureWMF

public PictureWMF(String format)
Parameters:
format -

PictureWMF

public PictureWMF(byte[] buf)
Parameters:
buf -

PictureWMF

public PictureWMF(byte[] buf,
                  String format)
Parameters:
buf -
format -
Method Detail

setBuf

public void setBuf(byte[] buf)
Overrides:
setBuf in class PictureSVG

createImage

public BufferedImage createImage(int width,
                                 int height,
                                 String format)
Overrides:
createImage in class PictureSVG

getXML

public String getXML()
Overrides:
getXML in class PictureSVG

paint

public void paint(Graphics2D g2,
                  int width,
                  int height)
Overrides:
paint in class Picture

createRecordStore

protected void createRecordStore()

paint

public void paint(Graphics2D g2)
Overrides:
paint in class Picture

paint

public void paint(Graphics2D g2,
                  AffineTransformOp aop)
Overrides:
paint in class Picture