samples.graph
Class UnicodeLabelDemo

java.lang.Object
  extended by samples.graph.UnicodeLabelDemo

public class UnicodeLabelDemo
extends Object

Demonstrates the use of GraphZoomScrollPane. This class shows off the VisualizationViewer zooming and panning capabilities, using horizontal and vertical scrollbars.

This demo also shows ToolTips on graph vertices.

Author:
Tom Nelson - RABA Technologies

Constructor Summary
UnicodeLabelDemo()
          create an instance of a simple graph with controls to demo the zoom features.
 
Method Summary
protected  void loadImages(Vertex[] vertices, Map imageMap)
          A nested class to demo ToolTips
static void main(String[] args)
          a driver for this demo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnicodeLabelDemo

public UnicodeLabelDemo()
create an instance of a simple graph with controls to demo the zoom features.

Method Detail

loadImages

protected void loadImages(Vertex[] vertices,
                          Map imageMap)
A nested class to demo ToolTips


main

public static void main(String[] args)
a driver for this demo