|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.clustermap.export.HtmlImageMapExporter
public class HtmlImageMapExporter
A HtmlImageMapExporter is capable of saving a HTML document containing an image map of the Graph to a Writer. In can be used in combination with an ImageExporter in order to create the complete map (i.e. an HTML document and image file).
HtmlImageMapExporter can also be instructed to create only the MAP element, e.g. if the image map is to be included in a HTML template.
| Field Summary | |
|---|---|
static boolean |
DEFAULT_FULL_HTML_DOCUMENT
The default value of the "full HTML document" property. |
static String |
DEFAULT_IMAGE_FILE_NAME
The default value of the image name property. |
static String |
DEFAULT_MAP_NAME
The default value of the map name property. |
static String |
DEFAULT_TITLE
The default title of the HTML document. |
| Constructor Summary | |
|---|---|
HtmlImageMapExporter(GraphRenderer renderer)
Create a new HtmlImageMapExporter that will use the specified GraphRenderer for retrieving information about clickable regions. |
|
| Method Summary | |
|---|---|
void |
export()
Exports the HTML document or the MAP element, depending on what was requested, to the installed Writer. |
String |
getImageFileName()
|
String |
getMapName()
|
String |
getTitle()
|
boolean |
isFullHtmlDocument()
|
void |
setFullHtmlDocument(boolean fullHtmlDocument)
|
void |
setImageFileName(String name)
|
void |
setMapName(String mapName)
Set the name to be used to identify the MAP element. |
void |
setTitle(String title)
|
void |
setWriter(Writer writer)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final boolean DEFAULT_FULL_HTML_DOCUMENT
public static final String DEFAULT_MAP_NAME
public static final String DEFAULT_TITLE
public static final String DEFAULT_IMAGE_FILE_NAME
| Constructor Detail |
|---|
public HtmlImageMapExporter(GraphRenderer renderer)
| Method Detail |
|---|
public void setWriter(Writer writer)
public void setMapName(String mapName)
throws IllegalArgumentException
IllegalArgumentException - when the specified String is null.public String getMapName()
public void setFullHtmlDocument(boolean fullHtmlDocument)
public boolean isFullHtmlDocument()
public void setTitle(String title)
throws IllegalArgumentException
IllegalArgumentExceptionpublic String getTitle()
public void setImageFileName(String name)
throws IllegalArgumentException
IllegalArgumentExceptionpublic String getImageFileName()
public void export()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||