|
JGraphAddons |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.util.JGraphImageMapEncoder
Constructor Summary | |
JGraphImageMapEncoder()
|
Method Summary | |
String |
encode(JGraph graph,
String mapName)
Use <img src="yourimage.png" border="0" ismap usemap="#map"> in your HTML markup to refer to this image map. |
String |
getLabel(JGraph graph,
Object cell)
Override or implement to map from cells to labels. |
String |
getURL(JGraph graph,
Object cell)
Override or implement to map from cells to urls. |
static boolean |
isURL(Object url)
Override or implement to map from cells to urls. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JGraphImageMapEncoder()
Method Detail |
public static boolean isURL(Object url)
public String getURL(JGraph graph, Object cell)
cell
- Cell that should be converted to a URL
public String getLabel(JGraph graph, Object cell)
cell
- Cell that should be converted to a label
public String encode(JGraph graph, String mapName)
ActionListener.actionPerformed(ActionEvent)
|
JGraphAddons |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |