NetCharts Pro

netcharts.pro.common.image.png
Class NFPNGImageParams

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.png.NFPNGImageParams
All Implemented Interfaces:
java.io.Serializable, NFRasterImageTypes

public class NFPNGImageParams
extends NFRasterImageParams

Used to specify the parameters of the image generation when outputting PNG 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
NFPNGImageParams()
          Constructs a default NFPNGImageParams instance.
NFPNGImageParams(boolean alphaEncoded)
          Constructs a NFPNGImageParams instance specifying if alpha encoding is enabled.
NFPNGImageParams(boolean alphaEncoded, java.lang.String defaultHref)
          Constructs a NFPNGImageParams instance specifying if alpha encoding is enabled and the default URL to use for user interactivity actions.
NFPNGImageParams(java.lang.String defaultHref)
          Constructs a NFPNGImageParams instance specifying the default URL to use for user interactivity actions.
 
Method Summary
 boolean isAlphaEncoded()
          Returns if alpha channel encoding is enabled.
 void setAlphaEncoded(boolean alphaEncoding)
          Sets if alpha channel encoding is enabled.
 
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

NFPNGImageParams

public NFPNGImageParams()
Constructs a default NFPNGImageParams instance.


NFPNGImageParams

public NFPNGImageParams(boolean alphaEncoded)
Constructs a NFPNGImageParams instance specifying if alpha encoding is enabled.

Parameters:
alphaEncoded - True if alpha encoding is enabled, false otherwise.

NFPNGImageParams

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

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

NFPNGImageParams

public NFPNGImageParams(boolean alphaEncoded,
                        java.lang.String defaultHref)
Constructs a NFPNGImageParams instance specifying if alpha encoding is enabled and the default URL to use for user interactivity actions.

Parameters:
alphaEncoded - True if alpha encoding is enabled, false otherwise.
defaultHref - The default URL of the graph image for user interactivity actions.
Method Detail

isAlphaEncoded

public boolean isAlphaEncoded()
Returns if alpha channel encoding is enabled. Enabling alphaEncoding allows full variable transparency in the rendered image.

Returns:
True if alpha encoding is enabled, false otherwise.

setAlphaEncoded

public void setAlphaEncoded(boolean alphaEncoding)
Sets if alpha channel encoding is enabled. Enabling alphaEncoding allows full variable transparency in the rendered image.

Parameters:
alphaEncoding - True if alpha encoding is enabled, 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