public abstract class AFPImageHandler extends java.lang.Object implements ImageHandlerBase
| Constructor and Description |
|---|
AFPImageHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AFPDataObjectInfo |
createDataObjectInfo()
Creates the data object information object
|
static AFPObjectAreaInfo |
createObjectAreaInfo(AFPPaintingState paintingState,
java.awt.Rectangle targetRect)
Creates and returns an
AFPObjectAreaInfo instance for the placement of the image. |
protected void |
setResourceInformation(AFPDataObjectInfo dataObjectInfo,
java.lang.String uri,
java.util.Map foreignAttributes)
Sets resource information on the data object info.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPriority, getSupportedImageClass, getSupportedImageFlavorsprotected void setResourceInformation(AFPDataObjectInfo dataObjectInfo, java.lang.String uri, java.util.Map foreignAttributes)
dataObjectInfo - the data object info instanceuri - the image's URI (or null if no URI is available)foreignAttributes - a Map of foreign attributes (or null)public static AFPObjectAreaInfo createObjectAreaInfo(AFPPaintingState paintingState, java.awt.Rectangle targetRect)
AFPObjectAreaInfo instance for the placement of the image.paintingState - the painting statetargetRect - the target rectangle in which to place the image (coordinates in mpt)protected abstract AFPDataObjectInfo createDataObjectInfo()
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.