|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--netcharts.pro.util.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.
| Inner 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. |
|
| Method Summary | |
int |
getHeight()
Get the height of the image. |
byte[] |
getImage()
Get the encoded image data. |
NFServerGeneratedImage.MapElement[] |
getMap()
Get the MapElement array. |
java.lang.String |
getMimeType()
Get the mime type of the encoded image. |
java.lang.String |
getTextualDescription()
Get the textual description of the image. |
java.lang.String |
getTextualDescriptionInALTFormat()
Get the textual description of the image in a format suitable for use in the ALT attribute of an IMG tag in an HTML page. |
java.lang.String |
getTextualDescriptionInHTMLFormat()
Get the textual description of the image in a format suitable for use in an HTML page. |
java.lang.String |
getUniqueID()
Get the unique ID of the NFServerGeneratedImage. |
int |
getWidth()
Get the width of the image. |
void |
setHeight(int height)
Set the height of the image. |
void |
setImage(byte[] image)
Set the encoded image data. |
void |
setMap(NFServerGeneratedImage.MapElement[] map)
Set the MapElement array. |
void |
setMimeType(java.lang.String mimeType)
Set the mime type of the encoded image. |
void |
setTextualDescription(java.lang.String textualDescription)
Set the textual description of the image. |
void |
setUniqueID(java.lang.String uniqueID)
Set the unique ID of the NFServerGeneratedImage. |
void |
setWidth(int width)
Set the width 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(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 setImage(byte[] image)
public byte[] getImage()
public void setMimeType(java.lang.String mimeType)
public java.lang.String getMimeType()
public void setWidth(int width)
public int getWidth()
public void setHeight(int height)
public int getHeight()
public void setMap(NFServerGeneratedImage.MapElement[] map)
public NFServerGeneratedImage.MapElement[] getMap()
public void setTextualDescription(java.lang.String textualDescription)
public java.lang.String getTextualDescription()
public java.lang.String getTextualDescriptionInHTMLFormat()
public java.lang.String getTextualDescriptionInALTFormat()
public void setUniqueID(java.lang.String uniqueID)
public java.lang.String getUniqueID()
public java.lang.String toString()
toString in class java.lang.Object
|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2004 |
Last Modified: Apr 1, 2004 |