NetCharts Pro

netcharts.pro.common.image.raster
Class NFRasterImageParams

java.lang.Object
  extended by netcharts.pro.common.image.NFImageParams
      extended by netcharts.pro.common.image.NFZoomableImageParams
          extended by netcharts.pro.common.image.raster.NFRasterImageParams
All Implemented Interfaces:
java.io.Serializable, NFRasterImageTypes
Direct Known Subclasses:
NFJPEGImageParams, NFPNGImageParams, NFTIFFImageParams

public class NFRasterImageParams
extends NFZoomableImageParams
implements NFRasterImageTypes

Used to specify the parameters of the image generation when outputting raster based images.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface netcharts.pro.common.image.raster.NFRasterImageTypes
DEFAULT_MIME_TYPE, MIME_TYPE_BMP, MIME_TYPE_JPG, MIME_TYPE_PICT, MIME_TYPE_PNG, MIME_TYPE_TGA, MIME_TYPE_TIFF, MIME_TYPE_WBMP, MIME_TYPE_XBM, MIME_TYPE_XPM
 
Constructor Summary
NFRasterImageParams(java.lang.String mimeType)
          Constructs a NFRasterImageParams instance specifying the MIME type.
NFRasterImageParams(java.lang.String mimeType, java.lang.String defaultHref)
          Constructs a NFRasterImageParams instance specifying the MIME type and the default URL to use for user activity actions.
 
Method Summary
 boolean isMapIncluded()
          Returns if the map will be included during image generation.
 boolean isPrinterMatchedFontsEnabled()
          Specifies if raster image graphics should use fractional font metrics in image generation.
 void setMapIncluded(boolean imageMap)
          Specifies if the map should be included during image generation.
 void setPrinterMatchedFontsEnabled(boolean printerMatchedFontsEnabled)
          Specifies if the image graphics should use fractional font metrics in image generation.
 
Methods inherited from class netcharts.pro.common.image.NFZoomableImageParams
getZoomInHandler, getZoomOutHandler, isZoomOutButtonVisible, setZoomInHandler, setZoomOutButtonVisible, setZoomOutHandler
 
Methods inherited from class netcharts.pro.common.image.NFImageParams
getAltTemplate, getDefaultHref, getDescription, getInternalParams, getMimeType, setAltTemplate, setDefaultHref, setDescription
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NFRasterImageParams

public NFRasterImageParams(java.lang.String mimeType)
Constructs a NFRasterImageParams instance specifying the MIME type.

Parameters:
mimeType - The MIME type of the output.

NFRasterImageParams

public NFRasterImageParams(java.lang.String mimeType,
                           java.lang.String defaultHref)
Constructs a NFRasterImageParams instance specifying the MIME type and the default URL to use for user activity actions.

Parameters:
mimeType - The MIME type of the output.
defaultHref - The default URL of the graph image for user interactivity actions.
Method Detail

isMapIncluded

public boolean isMapIncluded()
Returns if the map will be included during image generation.

Returns:
True if the map will be included during image generation, false otherwise.

setMapIncluded

public void setMapIncluded(boolean imageMap)
Specifies if the map should be included during image generation.

Parameters:
imageMap - True if the map should be included during image generation, false otherwise.

isPrinterMatchedFontsEnabled

public boolean isPrinterMatchedFontsEnabled()
Specifies if raster image graphics should use fractional font metrics in image generation.

Returns:
True if raster image graphics should use fractional font metrics in image generation, false otherwise.

setPrinterMatchedFontsEnabled

public void setPrinterMatchedFontsEnabled(boolean printerMatchedFontsEnabled)
Specifies if the image graphics should use fractional font metrics in image generation.

Parameters:
printerMatchedFontsEnabled - True if the image graphics should use fractional font metrics in image generation, false otherwise.

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