|
NetCharts Pro | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetcharts.common.sgi.ServerGeneratedImage
netcharts.pro.util.NFServerGeneratedImage
public class NFServerGeneratedImage
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 |
---|
public NFServerGeneratedImage(java.lang.String mimeType)
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.public NFServerGeneratedImage(byte[] image, java.lang.String mimeType, int width, int height)
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.public NFServerGeneratedImage(byte[] image, java.lang.String mimeType, int width, int height, NFServerGeneratedImage.MapElement[] map, java.lang.String textualDescription, java.lang.String uniqueID)
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 |
---|
public void setTextualDescription(java.lang.String textualDescription)
public java.lang.String toString()
|
NetCharts Pro | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2011 |
Last Modified: Jun 28, 2011 |