org.primordion.xholon.io
Class AbstractNetworkViewerJung.XholonVertexStringer
java.lang.Object
org.primordion.xholon.io.AbstractNetworkViewerJung.XholonVertexStringer
- All Implemented Interfaces:
- edu.uci.ics.jung.graph.decorators.VertexStringer
- Enclosing class:
- AbstractNetworkViewerJung
- public class AbstractNetworkViewerJung.XholonVertexStringer
- extends java.lang.Object
- implements edu.uci.ics.jung.graph.decorators.VertexStringer
The XholonVertexStringer class stores labels for vertices (nodes),
and allows applications to get and set these.
- Author:
- Ken Webb
|
Method Summary |
java.lang.String |
getLabel(edu.uci.ics.jung.graph.ArchetypeVertex v)
|
edu.uci.ics.jung.graph.Vertex |
getVertex(java.lang.String label)
|
void |
loadImages(java.util.Map imageMap)
|
void |
setIcon(edu.uci.ics.jung.graph.Vertex v,
int iconID)
|
void |
setLabel(edu.uci.ics.jung.graph.Vertex v,
java.lang.String label)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNetworkViewerJung.XholonVertexStringer
public AbstractNetworkViewerJung.XholonVertexStringer()
getLabel
public java.lang.String getLabel(edu.uci.ics.jung.graph.ArchetypeVertex v)
- Specified by:
getLabel in interface edu.uci.ics.jung.graph.decorators.VertexStringer
setLabel
public void setLabel(edu.uci.ics.jung.graph.Vertex v,
java.lang.String label)
getVertex
public edu.uci.ics.jung.graph.Vertex getVertex(java.lang.String label)
setIcon
public void setIcon(edu.uci.ics.jung.graph.Vertex v,
int iconID)
loadImages
public void loadImages(java.util.Map imageMap)