|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GraphToImageMap
Used to generate HTML Image maps of graphs. It provides methods to generate hrefs and hovers for nodes and arcs.
| Method Summary | |
|---|---|
boolean |
drawArcLabels(Arc arc)
Controls drawing of arc labels |
String |
hoverForArc(Arc arc)
Every arc in a generated image of a graph may have associated text which will pop-up when the arc is hovered over. |
String |
hoverForNode(Node node)
Every node in a generated image of a graph may have associated text which will pop-up when the node is hovered over. |
String |
hrefForArc(Arc arc)
Every arc in a generated image of a graph may have a link for when the arc is clicked. |
String |
hrefForNode(Node node)
Every node in a generated image of a graph may have a link for when the node is clicked. |
Icon |
iconForNode(Node node)
Each node may have a different Icon representing
it in the generated image map. |
| Method Detail |
|---|
boolean drawArcLabels(Arc arc)
arc -
Icon iconForNode(Node node)
Icon representing
it in the generated image map. Override this method
to specify which Icon to use for a given node.
node - The graph node needing an icon
String hrefForNode(Node node)
node - The node to generate the HREF for
String hoverForNode(Node node)
node - The node to generate the hover for.
String hrefForArc(Arc arc)
arc - The arc to generate the HREF for
String hoverForArc(Arc arc)
arc - The arc to generate the hover for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||