NetCharts Pro

netcharts.pro.util
Class NFServerGeneratedImage

java.lang.Object
  extended by netcharts.common.sgi.ServerGeneratedImage
      extended by netcharts.pro.util.NFServerGeneratedImage

public class NFServerGeneratedImage
extends netcharts.common.sgi.ServerGeneratedImage

This class holds all the information related to a server generated image. This includes the encoded image data, the mime type of the data, a width, a height, an array of MapElements to create an html imagemap, a textual description, and associated unique ID.


Nested Class Summary
static class NFServerGeneratedImage.MapElement
          Internal representation of an image map element.
 
Constructor Summary
NFServerGeneratedImage(byte[] image, java.lang.String mimeType, int width, int height)
          Create a NFServerGeneratedImage with the given image data, mime type, width, and height.
NFServerGeneratedImage(byte[] image, java.lang.String mimeType, int width, int height, NFServerGeneratedImage.MapElement[] map, java.lang.String textualDescription, java.lang.String uniqueID)
          Create an NFServerGeneratedImage with the given image data, mime type, width, height, MapElement vector, textual description, and unique ID.
NFServerGeneratedImage(java.lang.String mimeType)
          Create a ServerGeneratedImage with the given mime type
 
Method Summary
 void setTextualDescription(java.lang.String textualDescription)
          Set the textual description of the image.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NFServerGeneratedImage

public NFServerGeneratedImage(java.lang.String mimeType)
Create a ServerGeneratedImage with the given mime type

Parameters:
image - The encoded image data.
mimeType - The mime type of the encoded image.
width - The width of the image.
height - The height of the image.

NFServerGeneratedImage

public NFServerGeneratedImage(byte[] image,
                              java.lang.String mimeType,
                              int width,
                              int height)
Create a NFServerGeneratedImage with the given image data, mime type, width, and height.

Parameters:
image - The encoded image data.
mimeType - The mime type of the encoded image.
width - The width of the image.
height - The height of the image.

NFServerGeneratedImage

public NFServerGeneratedImage(byte[] image,
                              java.lang.String mimeType,
                              int width,
                              int height,
                              NFServerGeneratedImage.MapElement[] map,
                              java.lang.String textualDescription,
                              java.lang.String uniqueID)
Create an NFServerGeneratedImage with the given image data, mime type, width, height, MapElement vector, textual description, and unique ID.

Parameters:
image - The encoded image data.
mimeType - The mime type of the encoded image.
width - The width of the image.
height - The height of the image.
map - The MapElement vector.
textualDescription - The textual description of the image.
uniqueID - The unique ID of the NFServerGeneratedImage.
Method Detail

setTextualDescription

public void setTextualDescription(java.lang.String textualDescription)
Set the textual description of the image.


toString

public java.lang.String toString()

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