|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.linkmap.LinkMap
public class LinkMap
LinkMap is a graph-based visualisation mechanism for the display of Graphs.
| Constructor Summary | |
|---|---|
LinkMap()
|
|
LinkMap(RenderingProperties renderingProperties)
|
|
| Method Summary | |
|---|---|
void |
addLinkMapListener(LinkMapListener listener)
Add a LinkMapListener to the List of LinkMapListeners. |
void |
exportImageMap(Writer writer,
boolean fullHtmlDocument,
String title,
String imageFileName)
Exports a HTML image map to the specified Writer by creating a HtmlImageMapExporter that will use the GraphRenderer of this LinkMap to retrieve data. |
void |
exportPngImage(File file)
Exports the visual graph in PNG format to the specified File. |
void |
exportPngImage(File file,
Image logo)
Exports the visual graph, combined with a specified Image, in PNG format to the specified File. |
void |
exportPngImage(OutputStream stream)
Exports the visual graph in PNG format to the supplied OutputStream. |
void |
exportPngImage(OutputStream stream,
Image logo)
Exports the visual graph, combined with a specified Image, in PNG format to the specified OutputStream. |
Graph |
getGraph()
|
LinkGraphLayoutManager2 |
getGraphLayoutManager()
|
GraphRenderer |
getGraphRenderer()
|
RenderingProperties |
getRenderingProperties()
|
Transform |
getTransform()
|
void |
openGraph(File file)
Loads the Graph contained in the specified File. |
void |
removeLinkMapListener(LinkMapListener listener)
Remove a LinkMapListener from the list of LinkMapListeners. |
void |
setGraph(Graph graph)
Set the Graph on which this LinkMap should operate. |
void |
setRenderingProperties(RenderingProperties renderingProperties)
|
void |
setTransform(Transform transform)
Set the Transform of this LinkMap. |
void |
stopLayout()
Sets the stopping flags in the LinkGraphLayoutManager and the LinkSubgraphLayoutManager. |
void |
updateFiltering(boolean reinitializeFilter)
|
void |
updateLayout()
Updates the layout and rendering of the LinkGraph and sends appropriate events to all LinkMapListeners. |
void |
updateRendering()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinkMap()
public LinkMap(RenderingProperties renderingProperties)
| Method Detail |
|---|
public void updateRendering()
public void openGraph(File file)
throws ParserConfigurationException,
SAXException,
IOException
ParserConfigurationException
SAXException
IOException
public void setGraph(Graph graph)
throws IllegalArgumentException
IllegalArgumentExceptionpublic Graph getGraph()
public void setTransform(Transform transform)
public Transform getTransform()
public LinkGraphLayoutManager2 getGraphLayoutManager()
public GraphRenderer getGraphRenderer()
public void setRenderingProperties(RenderingProperties renderingProperties)
public RenderingProperties getRenderingProperties()
public void updateFiltering(boolean reinitializeFilter)
public void updateLayout()
public void stopLayout()
public void exportPngImage(File file)
throws IOException
IOException
public void exportPngImage(File file,
Image logo)
throws IOException
The supplied Image should already be fully loaded. It will be placed at the bottom right of the total image. It is meant to facilitate placing logo's in the generated image file.
IOException
public void exportPngImage(OutputStream stream)
throws IOException
IOException
public void exportPngImage(OutputStream stream,
Image logo)
throws IOException
The supplied Image should already be fully loaded. It will be placed at the bottom right of the total image. It is meant to facilitate placing logo's in the generated image file.
IOException
public void exportImageMap(Writer writer,
boolean fullHtmlDocument,
String title,
String imageFileName)
throws IOException
IOExceptionpublic void addLinkMapListener(LinkMapListener listener)
public void removeLinkMapListener(LinkMapListener listener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||