|
|||||||||||
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 | |
java.lang.String |
encode(JGraph graph,
java.lang.String mapName)
Use <img src="yourimage.png" border="0" ismap usemap="#map"> in your HTML markup to refer to this image map. |
java.lang.String |
getLabel(JGraph graph,
java.lang.Object cell)
Override or implement to map from cells to labels. |
java.lang.String |
getURL(JGraph graph,
java.lang.Object cell)
Override or implement to map from cells to urls. |
static boolean |
isURL(java.lang.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(java.lang.Object url)
public java.lang.String getURL(JGraph graph, java.lang.Object cell)
cell
- Cell that should be converted to a URL
public java.lang.String getLabel(JGraph graph, java.lang.Object cell)
cell
- Cell that should be converted to a label
public java.lang.String encode(JGraph graph, java.lang.String mapName)
ActionListener.actionPerformed(ActionEvent)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |