public abstract class ImageIOFormatter extends AbstractImageFormatter
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
formatName |
bufferedImage, layers, propertiesPrefix
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty
Constructor and Description |
---|
ImageIOFormatter() |
Modifier and Type | Method and Description |
---|---|
byte[] |
formatImage(java.awt.image.BufferedImage bi)
Convert a BufferedImage to a image file format...
|
java.lang.String |
getFormatName() |
java.awt.Graphics |
getGraphics(int width,
int height)
Return the applicable Graphics to use to paint the layers into.
|
void |
setFormatName(java.lang.String formatName) |
getBufferedImage, getGraphics, getGraphics, getImageBytes, getImageFromMapBean, getImageFromMapBean, getImageFromMapBean, getProperties, getPropertyInfo, getPropertyPrefix, getScaledBufferedImage, getScaledImageBytes, imageFormatSupportAlphaChannel, imageFormatSupportTransparentPixel, makeClone, propertyChange, setBufferedImage, setProperties, setProperties, setPropertyPrefix
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContentType, getFormatLabel
public java.lang.String getFormatName()
public void setFormatName(java.lang.String formatName)
formatName
- The formatName to set.public byte[] formatImage(java.awt.image.BufferedImage bi)
AbstractImageFormatter
formatImage
in interface ImageFormatter
formatImage
in class AbstractImageFormatter
bi
- a BufferedImage..public java.awt.Graphics getGraphics(int width, int height)
getGraphics
in interface ImageFormatter
getGraphics
in class AbstractImageFormatter
width
- pixel width of Graphics.height
- pixel height of Graphics.BufferedImage
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details