NetCharts Pro

netcharts.pro.common.image
Interface NFImageExtension

All Known Implementing Classes:
NFImageOutput, NFIndexedRasterImageOutput, NFJPEGImageOutput, NFPDFImageOutput, NFPNGImageOutput, NFRasterImageOutput, NFSVGImageOutput, NFTIFFImageOutput, NFWBMPImageOutput

public interface NFImageExtension

Base interface for image generation. Implementations of this interface can be registered to generate images for specific mime types. All implementors should contain a constructor that takes a String mime type.


Method Summary
 NFImageParams getImageParamsInstance()
          Returns a default NFImageParams instance specific to this image generation extension.
 NFServerGeneratedImage getServerGeneratedImage(NFGraph graph, NFImageParams properties)
          Generates an image of the given chart using the specified image generation parameters.
 

Method Detail

getServerGeneratedImage

NFServerGeneratedImage getServerGeneratedImage(NFGraph graph,
                                               NFImageParams properties)
                                               throws java.lang.Exception
Generates an image of the given chart using the specified image generation parameters.

Parameters:
graph - The chart instance to render to an image.
properties - The parameters of the image generation.
Returns:
NFServerGeneratedImage instance containing the image and related metadata.
Throws:
java.lang.Exception - If there was an exception generating the image

getImageParamsInstance

NFImageParams getImageParamsInstance()
Returns a default NFImageParams instance specific to this image generation extension.

Returns:
NFImageParams instance containing default image generation parameters.

NetCharts Pro


Visual Mining, Inc.
2099 Gaither Rd.
Suite 220
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2011
All Rights Reserved.

NetCharts Pro TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Jun 28, 2011