public class UnicodeLabelDemo
extends java.lang.Object
GraphZoomScrollPane
.
This class shows off the VisualizationViewer
zooming
and panning capabilities, using horizontal and
vertical scrollbars.
This demo also shows ToolTips on graph vertices.
Constructor and Description |
---|
UnicodeLabelDemo()
create an instance of a simple graph with controls to
demo the zoom features.
|
Modifier and Type | Method and Description |
---|---|
protected void |
loadImages(Vertex[] vertices,
java.util.Map imageMap)
A nested class to demo ToolTips
|
static void |
main(java.lang.String[] args)
a driver for this demo
|
public UnicodeLabelDemo()
protected void loadImages(Vertex[] vertices, java.util.Map imageMap)
public static void main(java.lang.String[] args)