|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bbn.openmap.image.AbstractImageFormatter
com.bbn.openmap.image.ImageIOFormatter
| Field Summary | |
protected java.lang.String |
formatName
|
| Fields inherited from class com.bbn.openmap.image.AbstractImageFormatter |
bufferedImage, layers, propertiesPrefix |
| Fields inherited from interface com.bbn.openmap.PropertyConsumer |
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty |
| Constructor Summary | |
ImageIOFormatter()
|
|
| Method Summary | |
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)
|
| Methods inherited from class com.bbn.openmap.image.AbstractImageFormatter |
getBufferedImage, getGraphics, getImageBytes, getImageFromMapBean, getImageFromMapBean, getImageFromMapBean, getProperties, getPropertyInfo, getPropertyPrefix, getScaledBufferedImage, getScaledImageBytes, makeClone, propertyChange, setBufferedImage, setProperties, setProperties, setPropertyPrefix |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.bbn.openmap.image.ImageFormatter |
getContentType, getFormatLabel |
| Field Detail |
protected java.lang.String formatName
| Constructor Detail |
public ImageIOFormatter()
| Method Detail |
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 ImageFormatterformatImage in class AbstractImageFormatterbi - a BufferedImage..
public java.awt.Graphics getGraphics(int width,
int height)
getGraphics in interface ImageFormattergetGraphics in class AbstractImageFormatterwidth - pixel width of Graphics.height - pixel height of Graphics.
BufferedImage
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||