NetCharts Pro

netcharts.pro.common.image.jpg
Class NFJPEGImageParams

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
              extended by netcharts.pro.common.image.jpg.NFJPEGImageParams
All Implemented Interfaces:
java.io.Serializable, NFRasterImageTypes

public class NFJPEGImageParams
extends NFRasterImageParams

Used to specify the parameters of the image generation when outputting JPEG based raster 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
NFJPEGImageParams()
          Constructs a default NFJPEGImageParams instance.
NFJPEGImageParams(int quality)
          Constructs a NFJPEGImageParams instance specifying the JPEG quality.
NFJPEGImageParams(int quality, java.lang.String defaultHref)
          Constructs a NFJPEGImageParams instance specifying the JPEG quality and the default URL to use for user interactivity actions.
NFJPEGImageParams(java.lang.String defaultHref)
          Constructs a NFJPEGImageParams instance specifying the default URL to use for user interactivity actions.
 
Method Summary
 int getQuality()
          Returns the JPEG quality of the output.
 void setQuality(int quality)
          Sets the JPEG quality of the output.
 
Methods inherited from class netcharts.pro.common.image.raster.NFRasterImageParams
isMapIncluded, isPrinterMatchedFontsEnabled, setMapIncluded, setPrinterMatchedFontsEnabled
 
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

NFJPEGImageParams

public NFJPEGImageParams()
Constructs a default NFJPEGImageParams instance.


NFJPEGImageParams

public NFJPEGImageParams(int quality)
Constructs a NFJPEGImageParams instance specifying the JPEG quality.

Parameters:
quality - The JPEG quality of the output.

NFJPEGImageParams

public NFJPEGImageParams(java.lang.String defaultHref)
Constructs a NFJPEGImageParams instance specifying the default URL to use for user interactivity actions.

Parameters:
defaultHref - The default URL of the graph image for user interactivity actions.

NFJPEGImageParams

public NFJPEGImageParams(int quality,
                         java.lang.String defaultHref)
Constructs a NFJPEGImageParams instance specifying the JPEG quality and the default URL to use for user interactivity actions.

Parameters:
quality - The JPEG quality of the output.
defaultHref - The default URL of the graph image for user interactivity actions.
Method Detail

getQuality

public int getQuality()
Returns the JPEG quality of the output.

Returns:
The JPEG quality of the output.

setQuality

public void setQuality(int quality)
Sets the JPEG quality of the output. Valid values range from 1 to 100.

Parameters:
quality - The JPEG quality of the output.

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